fix(onboarding): could not create user (#848)

fix: onboarding not working
This commit is contained in:
ze0s 2023-04-17 20:56:17 +02:00 committed by GitHub
parent d03561d61c
commit 7f05dd1efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 182 additions and 130 deletions

View file

@ -66,7 +66,7 @@ func (h apikeyHandler) store(w http.ResponseWriter, r *http.Request) {
return
}
h.encoder.StatusResponse(ctx, w, data, http.StatusCreated)
h.encoder.StatusResponse(w, http.StatusCreated, data)
}
func (h apikeyHandler) delete(w http.ResponseWriter, r *http.Request) {