Skip to content

Commit

Permalink
🐛 fix group endpoints typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jan 14, 2024
1 parent 7184525 commit 5bf854b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ func (h *Handlers) SetupRoute() *echo.Echo {
// グループ管理者権限が必要
groupsAPIWithAdminAuth := groupsAPI.Group("", h.GroupAdminsMiddleware)
{
groupsAPIWithAdminAuth.PUT("/:groupid/members/:userid", h.HandleUpdateGroup)
groupsAPIWithAdminAuth.DELETE("/:groupid/members/:userid", h.HandleDeleteGroup)
groupsAPIWithAdminAuth.PUT("/:groupid", h.HandleUpdateGroup)
groupsAPIWithAdminAuth.DELETE("/:groupid", h.HandleDeleteGroup)
}
}

Expand Down

0 comments on commit 5bf854b

Please sign in to comment.