clippy + fmt

This commit is contained in:
marin postma
2021-10-29 16:10:58 +02:00
parent d65f055030
commit 2665c0099d
11 changed files with 26 additions and 21 deletions

View File

@ -16,7 +16,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
pub async fn create_dump(
meilisearch: GuardedData<Private, MeiliSearch>,
req: HttpRequest,
analytics: web::Data<&'static dyn Analytics>,
analytics: web::Data<dyn Analytics>,
) -> Result<HttpResponse, ResponseError> {
analytics.publish("Dump Created".to_string(), json!({}), Some(&req));