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
b6d575a286
commit
8a343d0324
@ -16,7 +16,6 @@ func InternalErrorHandler(w http.ResponseWriter, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
|
||||||
if err := json.NewEncoder(w).Encode(j{"error": err.Error()}); err != nil {
|
if err := json.NewEncoder(w).Encode(j{"error": err.Error()}); err != nil {
|
||||||
InternalErrorHandler(w, err)
|
InternalErrorHandler(w, err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user