update running route

This commit is contained in:
marin postma 2021-06-24 15:40:04 +02:00
parent 817fcfdd88
commit 1e9f374ff8
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
use std::time::Duration;
use actix_web::{get, HttpResponse};
use actix_web::HttpResponse;
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
@ -220,7 +220,6 @@ impl IndexUpdateResponse {
/// "status": "Meilisearch is running"
/// }
/// ```
#[get("/")]
pub async fn running() -> HttpResponse {
HttpResponse::Ok().json(serde_json::json!({ "status": "MeiliSearch is running" }))
}