Browse Source

Remove extranious response

pull/1821/head
Gabe Kangas 3 years ago
parent
commit
8a343d0324
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 1
      controllers/controllers.go

1
controllers/controllers.go

@ -16,7 +16,6 @@ func InternalErrorHandler(w http.ResponseWriter, err error) { @@ -16,7 +16,6 @@ func InternalErrorHandler(w http.ResponseWriter, err error) {
return
}
w.WriteHeader(http.StatusInternalServerError)
if err := json.NewEncoder(w).Encode(j{"error": err.Error()}); err != nil {
InternalErrorHandler(w, err)
}

Loading…
Cancel
Save