cmd/wasmcloudd: return handler on update
This commit is contained in:
parent
50c4184efa
commit
0f09e314b2
|
@ -84,6 +84,8 @@ func updateHandler(w http.ResponseWriter, r *http.Request, u *User) {
|
||||||
http.Error(w, "database error, contact support", http.StatusInternalServerError)
|
http.Error(w, "database error, contact support", http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
json.NewEncoder(w).Encode(hdlr)
|
||||||
}
|
}
|
||||||
|
|
||||||
func uploadHandler(hdlr internal.Handler) (string, error) {
|
func uploadHandler(hdlr internal.Handler) (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue