committee 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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, error: message }, pretty: true)]]
21
+ [MultiJson.encode({ id: id, message: message }, pretty: true)]]
22
22
  end
23
23
 
24
24
  def warn_string_deprecated
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: committee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: