mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
Fix metrics feature
As reported the metrics feature was broken by still using and old reference to `meilisearch_auth::actions`. This commit switches to the new location, `meilisearch_types::keys::actions`. Resolves: #3469 See also: #2763
This commit is contained in:
parent
ff595156d7
commit
62358bd31c
@ -4,9 +4,9 @@ use actix_web::dev::{self, Service, ServiceRequest, ServiceResponse, Transform};
|
|||||||
use actix_web::http::header;
|
use actix_web::http::header;
|
||||||
use actix_web::{Error, HttpResponse};
|
use actix_web::{Error, HttpResponse};
|
||||||
use futures_util::future::LocalBoxFuture;
|
use futures_util::future::LocalBoxFuture;
|
||||||
use meilisearch_auth::actions;
|
|
||||||
use meilisearch_lib::MeiliSearch;
|
use meilisearch_lib::MeiliSearch;
|
||||||
use meilisearch_types::error::ResponseError;
|
use meilisearch_types::error::ResponseError;
|
||||||
|
use meilisearch_types::keys::actions;
|
||||||
use prometheus::{Encoder, HistogramTimer, TextEncoder};
|
use prometheus::{Encoder, HistogramTimer, TextEncoder};
|
||||||
|
|
||||||
use crate::extractors::authentication::policies::ActionPolicy;
|
use crate::extractors::authentication::policies::ActionPolicy;
|
||||||
|
Loading…
Reference in New Issue
Block a user