2024-07-01 10:56:14: merge [master:f9b2632335c35844013af97443dacebb9fc385c5];

This commit is contained in:
txix committed 2024-07-01 10:56:14 +03:00
1 parent cd985ff5a3
commit 6db18c1495
19 files changed
+107 -82

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ func (e HttpError) Error() string {
}
func (e HttpError) WriteError(w http.ResponseWriter) error {
w.Header().Set("content-type", "application/json")
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(e.statusCode)
data := map[string]interface{}{
"errorCode": http.StatusText(e.statusCode),