Skip to content

Commit

Permalink
🩹 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jan 5, 2024
1 parent 137838d commit de153b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (h *Handlers) SetupRoute() *echo.Echo {
// サービス管理者権限が必要
usersAPIWithPrevilegeAuth := usersAPI.Group("", h.PrevilegeUserMiddleware)
{
usersAPIWithPrevilegeAuth.PATCH("/:userid/privileged", h.HandleGrantPrivlege)
usersAPIWithPrevilegeAuth.PATCH("/:userid/privileged", h.HandleGrantPrivilege)
usersAPIWithPrevilegeAuth.POST("/sync", h.HandleSyncUser)
}
}
Expand Down
2 changes: 1 addition & 1 deletion router/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (h *Handlers) HandleSyncUser(c echo.Context) error {
}

// 権限のあるユーザーがないユーザーに権限を付与
func (h *Handlers) HandleGrantPrivlege(c echo.Context) error {
func (h *Handlers) HandleGrantPrivilege(c echo.Context) error {
userID, err := getPathUserID(c)
if err != nil {
return notFound(err)
Expand Down

0 comments on commit de153b6

Please sign in to comment.