Remove extranious response

This commit is contained in:
Gabe Kangas 2022-04-30 21:28:24 -07:00
parent 65452b04a8
commit cc4ec0106e
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -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)
}