From fc96d181b3ef77e0930582fdb4d98c8f9824718a Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 29 Aug 2023 18:13:49 +0800 Subject: [PATCH] fix --- server/auth/internal/handler/routes.go | 2 +- server_api/auth.api | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/auth/internal/handler/routes.go b/server/auth/internal/handler/routes.go index 121d86c8..f8f1c8c4 100644 --- a/server/auth/internal/handler/routes.go +++ b/server/auth/internal/handler/routes.go @@ -54,7 +54,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { }, { Method: http.MethodPost, - Path: "/api/debug/auth/delete", + Path: "/api/auth/debug/delete", Handler: DebugAuthDeleteHandler(serverCtx), }, }, diff --git a/server_api/auth.api b/server_api/auth.api index eeddb5e5..089aab6d 100644 --- a/server_api/auth.api +++ b/server_api/auth.api @@ -35,7 +35,7 @@ service auth { post /api/auth/reset/password(RequestUserResetPassword) returns (response); @handler DebugAuthDeleteHandler - post /api/debug/auth/delete(RequestAuthDelete) returns (response); + post /api/auth/debug/delete(RequestAuthDelete) returns (response); } type (