Remove extranious response

This commit is contained in:
Gabe Kangas 2022-04-30 21:28:24 -07:00
parent b6d575a286
commit 8a343d0324
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)
}