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

@ -52,7 +52,7 @@ func (h ircHandler) listNetworks(w http.ResponseWriter, r *http.Request) {
h.encoder.Error(w, err)
}
h.encoder.StatusResponse(ctx, w, networks, http.StatusOK)
h.encoder.StatusResponse(w, http.StatusOK, networks)
}
func (h ircHandler) getNetworkByID(w http.ResponseWriter, r *http.Request) {
@ -68,7 +68,7 @@ func (h ircHandler) getNetworkByID(w http.ResponseWriter, r *http.Request) {
h.encoder.Error(w, err)
}
h.encoder.StatusResponse(ctx, w, network, http.StatusOK)
h.encoder.StatusResponse(w, http.StatusOK, network)
}
func (h ircHandler) restartNetwork(w http.ResponseWriter, r *http.Request) {