Remove unused respondError function

This commit is contained in:
2026-01-08 02:30:13 -08:00
parent 837c91e0dd
commit 1ac16bcfb4

View File

@@ -51,10 +51,3 @@ func (s *Handlers) respondJSON(w http.ResponseWriter, data interface{}, status i
}
}
}
func (s *Handlers) respondError(w http.ResponseWriter, code string, message string, status int) {
s.respondJSON(w, map[string]string{
"error": code,
"message": message,
}, status)
}