Skip to content

Commit ec91150

Browse files
committed
Updated comment
1 parent 374a7db commit ec91150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/handler/auth/endpoints.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (service *auth) CreateToken(w http.ResponseWriter, r *http.Request) {
137137
httpresponse.JSON(w, token, http.StatusCreated, jsonIndent)
138138
}
139139

140-
// Update an existing token
140+
// Update (patch, delete) an existing token
141141
func (service *auth) UpdateToken(w http.ResponseWriter, r *http.Request) {
142142
urlParameters := router.Params(r.Context())
143143
token := service.jar.GetWithName(strings.ToLower(urlParameters[0]))

0 commit comments

Comments
 (0)