mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-25 21:48:28 -05:00
feat(auth-app): create should return 201
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user