MSP-3533 Update lint

This commit is contained in:
Синельник Тимур Романович committed 2024-06-27 16:21:17 +03:00
1 parent 4480d932e1
commit 843c6d36c2
14 files changed
+63 -40

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),