From 8e73fa9a4a380a47b35a714119f2bdaa6228bedf Mon Sep 17 00:00:00 2001 From: ppolariss <2673986789@qq.com> Date: Fri, 29 Nov 2024 13:29:26 +0800 Subject: [PATCH] feat: add patch method for webvpn --- apis/token/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/token/routes.go b/apis/token/routes.go index a5b4ab4..a6f82e4 100644 --- a/apis/token/routes.go +++ b/apis/token/routes.go @@ -10,6 +10,7 @@ func RegisterRoutes(app fiber.Router) { app.Get("/users/push-tokens", ListTokens) app.Post("/users/push-tokens", CreateToken) app.Put("/users/push-tokens", CreateToken) + app.Patch("/users/push-tokens/_webvpn", CreateToken) app.Delete("/users/push-tokens", DeleteToken) app.Delete("/users/push-tokens/_all", DeleteAllTokens) }