From 9e1d1537fdac58be2cad81d24e52f93fb9f2ee05 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Mon, 27 Jan 2025 10:10:20 +0100 Subject: garbage code for deployment --- src/auth.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index 0635910..09cc5e2 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -31,7 +31,7 @@ struct EncodeResponse { #[utoipa::path( request_body = UserForm, - context_path = "/auth", + context_path = "/balalaika/auth", description = "Creates a new user with the specified values.", responses( (status = 200, description = "Create new user", body = Response), @@ -56,7 +56,7 @@ pub async fn register( #[utoipa::path( request_body = UserForm, - context_path = "/auth", + context_path = "/balalaika/auth", description = "Attempts to log in user. If successful, it returns an encoded token that grants access to protected routes in the api.", responses( (status = 200, description = "Returns encoded token", body = EncodeResponse), @@ -122,7 +122,7 @@ async fn encode_token(id: usize, secret: &String) -> Result