Skip to content

Commit

Permalink
Dependency of website-test #625
Browse files Browse the repository at this point in the history
  • Loading branch information
goobemaster committed Jan 27, 2015
1 parent 728c680 commit d8257cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/blinkbox/user/zuul_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def register_user(user, client_options = {})
allow_marketing_communications: user.allow_marketing_communications
}
params.merge!(client_options)
http_post "/oauth2/token", params
response = http_post "/oauth2/token", params
response.response != 200 ? response.response : MultiJson.load(response.body)
end

def register_user_with_client(user, client)
Expand Down

0 comments on commit d8257cb

Please sign in to comment.