diff --git a/pkg/handler/auth/endpoints.go b/pkg/handler/auth/endpoints.go index 4f83493..12ffa72 100644 --- a/pkg/handler/auth/endpoints.go +++ b/pkg/handler/auth/endpoints.go @@ -137,7 +137,7 @@ func (service *auth) CreateToken(w http.ResponseWriter, r *http.Request) { httpresponse.JSON(w, token, http.StatusCreated, jsonIndent) } -// Update an existing token +// Update (patch, delete) an existing token func (service *auth) UpdateToken(w http.ResponseWriter, r *http.Request) { urlParameters := router.Params(r.Context()) token := service.jar.GetWithName(strings.ToLower(urlParameters[0]))