mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Remove extranious response
This commit is contained in:
parent
65452b04a8
commit
cc4ec0106e
@ -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…
x
Reference in New Issue
Block a user