mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Leave actions as HashSet
This commit is contained in:
parent
23f02f241e
commit
fb9b298645
@ -131,8 +131,6 @@ impl HeedAuthStore {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let actions = actions.iter().collect::<Vec<&Action>>();
|
|
||||||
|
|
||||||
let no_index_restriction = key.indexes.contains(&StarOr::Star);
|
let no_index_restriction = key.indexes.contains(&StarOr::Star);
|
||||||
for action in actions {
|
for action in actions {
|
||||||
if no_index_restriction {
|
if no_index_restriction {
|
||||||
|
Loading…
Reference in New Issue
Block a user