mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Ran formatter on the code.
This commit is contained in:
parent
9a8fb6c55a
commit
6f910f89eb
@ -93,7 +93,11 @@ impl HeedAuthStore {
|
|||||||
} else if key.actions.contains(&Action::DocumentsAll) {
|
} else if key.actions.contains(&Action::DocumentsAll) {
|
||||||
// if key.actions.contains.DocumentsAll add all actions related to documents.
|
// if key.actions.contains.DocumentsAll add all actions related to documents.
|
||||||
let mut actions = key.actions.clone();
|
let mut actions = key.actions.clone();
|
||||||
actions.append(&mut vec![Action::DocumentsAdd, Action::DocumentsGet, Action::DocumentsDelete]);
|
actions.append(&mut vec![
|
||||||
|
Action::DocumentsAdd,
|
||||||
|
Action::DocumentsGet,
|
||||||
|
Action::DocumentsDelete,
|
||||||
|
]);
|
||||||
actions
|
actions
|
||||||
} else {
|
} else {
|
||||||
key.actions.clone()
|
key.actions.clone()
|
||||||
|
Loading…
Reference in New Issue
Block a user