committee 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/committee/middleware/base.rb +1 -1
- metadata +1 -1
|
@@ -18,7 +18,7 @@ module Committee::Middleware
|
|
|
18
18
|
|
|
19
19
|
def render_error(status, id, message)
|
|
20
20
|
[status, { "Content-Type" => "application/json" },
|
|
21
|
-
[MultiJson.encode({ id: id,
|
|
21
|
+
[MultiJson.encode({ id: id, message: message }, pretty: true)]]
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def warn_string_deprecated
|