From 8db762f11bbb093dad4affca1dd94fe372cfc132 Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 22 Sep 2026 12:41:40 -0400 Subject: [PATCH] Changed allowable me --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,