From 88362068353f6a43ed30941a573fa05d346f3d98 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 26 Jun 2024 23:47:27 +0800 Subject: [PATCH] fix: missing notification settings controller --- core/controllers/router_v2.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/controllers/router_v2.go b/core/controllers/router_v2.go index 6b8f91aa..02dfb3b5 100644 --- a/core/controllers/router_v2.go +++ b/core/controllers/router_v2.go @@ -75,8 +75,6 @@ func InitRoutes(app *gin.Engine) (err error) { }...)) RegisterController(groups.AuthGroup, "/environments", NewControllerV2[models.EnvironmentV2]()) RegisterController(groups.AuthGroup, "/nodes", NewControllerV2[models.NodeV2]()) - RegisterController(groups.AuthGroup, "/notifications/settings", NewControllerV2[models.NotificationSettingV2]()) - //RegisterController(groups.AuthGroup, "/permissions", NewControllerV2[models.PermissionV2]()) RegisterController(groups.AuthGroup, "/projects", NewControllerV2[models.ProjectV2]([]Action{ { Method: http.MethodGet, @@ -84,7 +82,6 @@ func InitRoutes(app *gin.Engine) (err error) { HandlerFunc: GetProjectList, }, }...)) - RegisterController(groups.AuthGroup, "/roles", NewControllerV2[models.RoleV2]()) RegisterController(groups.AuthGroup, "/schedules", NewControllerV2[models.ScheduleV2]([]Action{ { Method: http.MethodPost,