From abb2ac6c12512b555679682292b6d00dd0aeaf27 Mon Sep 17 00:00:00 2001
From: BitHeaven <bit.heaven@bk.ru>
Date: Fri, 22 Mar 2024 15:09:42 +0500
Subject: [PATCH] Edit test APIv0 endpoint

---
 src/api/v0.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/v0.rs b/src/api/v0.rs
index 5c33701..b9589ad 100644
--- a/src/api/v0.rs
+++ b/src/api/v0.rs
@@ -23,7 +23,7 @@ type DBPool = Arc<Pool<ConnectionMgrTcp>>;
 pub async fn api(req: Request<Incoming>, pool: DBPool) -> Json {
 	let uri: &str = req.uri().path().as_ref();
 	match &uri[7..uri.len()] {
-		"/test" => json!({"error": false, "msg": "test endpoint v0"}),
+		"/test" => json!({"error": false, "msg": "test"}),
 		"/auth" => auth(req, pool.clone()).await,
 		"/auth_get" => auth_get(req, pool.clone()).await,
 		_ => json!({"error": true, "msg": "No endpoint"})