Skip to content

Commit 871dffb

Browse files
authored
Update endpoints.go
1 parent 017b2f5 commit 871dffb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/handler/auth/endpoints.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ func (service *auth) UpdateToken(w http.ResponseWriter, r *http.Request) {
170170
default:
171171
// TODO: PATCH
172172
// Patch can be with name, expire_time, scopes
173+
// TODO: Should not be able to add the root scope unless you have the root scope
173174
httpresponse.Error(w, http.StatusMethodNotAllowed)
174175
return
175176
}

0 commit comments

Comments
 (0)