large refactor, fixes #2
This commit is contained in:
@ -17,7 +17,7 @@ func JSON(w http.ResponseWriter, data interface{}, status int) error {
|
||||
if err != nil {
|
||||
return &endpoint.HandlerError{
|
||||
Status: http.StatusInternalServerError,
|
||||
Message: "Unable to write JSON response",
|
||||
Message: "unable to write JSON response",
|
||||
Err: err,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user