diff --git a/internal/server/httpServer.go b/internal/server/httpServer.go index fbe37a7..68e4c86 100644 --- a/internal/server/httpServer.go +++ b/internal/server/httpServer.go @@ -37,7 +37,7 @@ type HTTPErrorResponse struct { } func errorResponse(response string) string { - return fmt.Sprintf("{\"error\": \"%q\"}", response) + return fmt.Sprintf("{\"error\": %q}", response) } func (cim *HandlerMux) ServeHTTP(w http.ResponseWriter, r *http.Request) {