diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-19 23:31:03 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-19 23:31:03 +0100 |
commit | 31af6be076635e6c6936564558bb977740d39eb0 (patch) | |
tree | 64cd70414baef55935f3e5bc360d7dd27d692307 /lib/api/helpers.rb | |
parent | 1c7eb963f5e9b5992e55a3dd0a025f019d72c84b (diff) | |
download | gitlab-ce-31af6be076635e6c6936564558bb977740d39eb0.tar.gz |
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 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) |