diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-20 01:31:03 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-20 01:31:03 +0300 |
commit | 31af6be076635e6c6936564558bb977740d39eb0 (patch) | |
tree | 64cd70414baef55935f3e5bc360d7dd27d692307 /lib | |
parent | 1c7eb963f5e9b5992e55a3dd0a025f019d72c84b (diff) |
Fix specs
Diffstat (limited to 'lib')
-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 49c5f0652ab..6b81fbf294e 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, header) + error!({ 'message' => message }, status) end def handle_api_exception(exception) |