diff --git a/project/src/handlers/authentication.rs b/project/src/handlers/authentication.rs index 3f2c48d..520b918 100644 --- a/project/src/handlers/authentication.rs +++ b/project/src/handlers/authentication.rs @@ -25,7 +25,7 @@ pub async fn register( .map_err(|e| HttpResponse::InternalServerError().json(e.to_string())) } -#[post("auth/login")] +#[post("/auth/login")] pub async fn login( id: Identity, auth_user: web::Json,