From 7277cb289f02aee7e6a872ec02c4de4f1c6ec82d Mon Sep 17 00:00:00 2001 From: RockYang Date: Sun, 7 Apr 2024 08:01:25 +0800 Subject: [PATCH] fix 404 error with remove api keys --- api/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/main.go b/api/main.go index 24efc68e..e5b8f3cf 100644 --- a/api/main.go +++ b/api/main.go @@ -297,7 +297,7 @@ func main() { group.POST("save", h.Save) group.GET("list", h.List) group.POST("set", h.Set) - group.POST("remove", h.Remove) + group.GET("remove", h.Remove) }), fx.Invoke(func(s *core.AppServer, h *admin.UserHandler) { group := s.Engine.Group("/api/admin/user/")