From c00129570baaabe71a3778bc35820e441f51174b Mon Sep 17 00:00:00 2001 From: mrw1593 Date: Sun, 19 Mar 2023 11:19:40 -0400 Subject: Setup sqlx --- src/api/liveops.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/liveops.rs') 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 { -- cgit v1.2.3