diff options
Diffstat (limited to 'src/api/liveops.rs')
| -rw-r--r-- | src/api/liveops.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/liveops.rs b/src/api/liveops.rs index 355103d..de77eb7 100644 --- a/src/api/liveops.rs +++ b/src/api/liveops.rs @@ -1,8 +1,8 @@ -use actix_web::{get, web, Scope}; +use actix_web::{get, web, HttpResponse, Scope}; #[get("ping")] -async fn ping() -> &'static str { - "pong" +async fn ping() -> HttpResponse { + HttpResponse::Ok().finish() } pub fn service() -> Scope { |
