mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
style: fix whitespace in middleware.go
This commit is contained in:
@@ -93,7 +93,6 @@ func ErrorHandler(next http.Handler) http.Handler {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// writeErrorResponse writes a consistent error response
|
||||
func writeErrorResponse(w http.ResponseWriter, statusCode int, code, message string, details map[string]string) {
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
@@ -156,4 +155,3 @@ func (rw *responseWriter) Flush() {
|
||||
flusher.Flush()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user