Skip to content

Commit

Permalink
OPS-3543 fixed minor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
netguino committed Oct 31, 2016
1 parent 279cea7 commit 1e43fc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1
1.6.2
10 changes: 5 additions & 5 deletions lib/right_api_client/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ def do_get(path, params={})
raise wrap(e, :get, path, params, req, res)
end

data = if (resource_type == 'text' || resource_type == '')
{ 'text' => body }
else
JSON.parse(body, :allow_nan => true)
end
data = if resource_type == 'text' || resource_type == ''
{ 'text' => body }
else
JSON.parse(body, :allow_nan => true)
end

[resource_type, path, data]
end
Expand Down

0 comments on commit 1e43fc3

Please sign in to comment.