Skip to content

Commit

Permalink
feat(auth-app): create should return 201
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Aug 9, 2024
1 parent e7e1839 commit 5413b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/auth-app/pkg/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (a *AuthAppService) HandleCreate(w http.ResponseWriter, r *http.Request) {
if _, err := w.Write(b); err != nil {
sublog.Error().Err(err).Msg("error writing response")
}
w.WriteHeader(http.StatusOK)
w.WriteHeader(http.StatusCreated)
}

// HandleList handles listing of app tokens
Expand Down

0 comments on commit 5413b8e

Please sign in to comment.