Skip to content

Commit

Permalink
fix: unable to get permission api issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 26, 2024
1 parent 9c620fa commit 265b098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/controllers/router_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ 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, "/permissions", NewControllerV2[models.PermissionV2]())
RegisterController(groups.AuthGroup, "/projects", NewControllerV2[models.ProjectV2]([]Action{
{
Method: http.MethodGet,
Expand Down

0 comments on commit 265b098

Please sign in to comment.