diff options
| author | mrw1593 <botahamec@outlook.com> | 2023-03-19 11:19:40 -0400 |
|---|---|---|
| committer | mrw1593 <botahamec@outlook.com> | 2023-03-19 11:19:40 -0400 |
| commit | c00129570baaabe71a3778bc35820e441f51174b (patch) | |
| tree | a813caca5c22a9ae0a33d861ce6d87b248ea9831 /src/api | |
| parent | e1793b571eadb06c3da09697d379eccd72b12b73 (diff) | |
Setup sqlx
Diffstat (limited to 'src/api')
| -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 { |
