diff --git a/src/main.rs b/src/main.rs index 0244fed..c5363b3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ async fn main() { mod init { use axum::{ Router, - routing::{get, post}, + routing::{get, patch, post}, }; use utoipa::OpenApi; @@ -118,7 +118,7 @@ mod init { ) .route( callers::endpoints::UPDATE_PASSWORD, - post(callers::login::endpoint::update_password), + patch(callers::login::endpoint::update_password), ) .route( callers::endpoints::SERVICE_LOGIN,