mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
metrics.all must define metrics.get
This commit is contained in:
parent
2c2efc7ab6
commit
f0b2ac6efb
@ -126,6 +126,9 @@ impl HeedAuthStore {
|
|||||||
Action::StatsAll => {
|
Action::StatsAll => {
|
||||||
actions.insert(Action::StatsGet);
|
actions.insert(Action::StatsGet);
|
||||||
}
|
}
|
||||||
|
Action::MetricsAll => {
|
||||||
|
actions.insert(Action::MetricsGet);
|
||||||
|
}
|
||||||
other => {
|
other => {
|
||||||
actions.insert(*other);
|
actions.insert(*other);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user