diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-20 01:41:12 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-20 01:41:12 +0300 |
commit | d8e440c8e05472b44a8e6cc59aecb6c53ba5a1d7 (patch) | |
tree | 0458eb72ec80af481f080d7e334efed8dc369e86 /lib/api/helpers.rb | |
parent | a5afcf0f377f63897b873ce75c814098bde3f1f3 (diff) |
Fix specs
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 6b81fbf294e..49c5f0652ab 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -226,7 +226,7 @@ module API end def render_api_error!(message, status) - error!({ 'message' => message }, status) + error!({ 'message' => message }, status, header) end def handle_api_exception(exception) |