Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: John Schaeffer <[email protected]>
Signed-off-by: Bailin He <[email protected]>
  • Loading branch information
bailinhe and jnschaeffer authored Apr 26, 2024
1 parent 91f0956 commit 3a26665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ func (r *Router) Routes(rg *echo.Group) {
v2.DELETE("/roles/:id", r.roleV2Delete)

v2.GET("/resources/:id/role-bindings", r.roleBindingsList)
v2.GET("/resources/:id/role-bindings/:rb_id", r.roleBindingGet)
v2.GET("/role-bindings/:rb_id", r.roleBindingGet)
v2.POST("/resources/:id/role-bindings", r.roleBindingCreate)
v2.DELETE("/resources/:id/role-bindings/:rb_id", r.roleBindingsDelete)
v2.PATCH("/resources/:id/role-bindings/:rb_id", r.roleBindingUpdate)
v2.PATCH("/role-bindings/:rb_id", r.roleBindingUpdate)

v2.GET("/actions", r.listActions)
}
Expand Down

0 comments on commit 3a26665

Please sign in to comment.