Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
djthorpe committed Jun 4, 2024
1 parent 374a7db commit ec91150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handler/auth/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit ec91150

Please sign in to comment.