Skip to content

Commit

Permalink
fix: missing notification settings controller
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 26, 2024
1 parent 7bdce1a commit 8836206
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/controllers/router_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,13 @@ 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,
Path: "",
HandlerFunc: GetProjectList,
},
}...))
RegisterController(groups.AuthGroup, "/roles", NewControllerV2[models.RoleV2]())
RegisterController(groups.AuthGroup, "/schedules", NewControllerV2[models.ScheduleV2]([]Action{
{
Method: http.MethodPost,
Expand Down

0 comments on commit 8836206

Please sign in to comment.