summaryrefslogtreecommitdiff
path: root/src/api/liveops.rs
diff options
context:
space:
mode:
authormrw1593 <botahamec@outlook.com>2023-03-19 11:19:40 -0400
committermrw1593 <botahamec@outlook.com>2023-03-19 11:19:40 -0400
commitc00129570baaabe71a3778bc35820e441f51174b (patch)
treea813caca5c22a9ae0a33d861ce6d87b248ea9831 /src/api/liveops.rs
parente1793b571eadb06c3da09697d379eccd72b12b73 (diff)
Setup sqlx
Diffstat (limited to 'src/api/liveops.rs')
-rw-r--r--src/api/liveops.rs6
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 {