From 768b35a264aabcf05d85dc64702475ed374ad1d5 Mon Sep 17 00:00:00 2001 From: polaris <2673986789@qq.com> Date: Fri, 29 Nov 2024 18:06:20 +0800 Subject: [PATCH] fix: typo of subscriptions routes --- apis/subscription/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/subscription/routes.go b/apis/subscription/routes.go index c2c2160..c202875 100644 --- a/apis/subscription/routes.go +++ b/apis/subscription/routes.go @@ -5,5 +5,6 @@ import "github.com/gofiber/fiber/v2" func RegisterRoutes(app fiber.Router) { app.Get("/users/subscriptions", ListSubscriptions) app.Post("/users/subscriptions", AddSubscription) + app.Delete("/users/subscriptions", DeleteSubscription) app.Delete("/users/subscription", DeleteSubscription) }