lib/ahub/user.rb in ahub-0.1.14 vs lib/ahub/user.rb in ahub-0.1.15

- old
+ new

@@ -10,10 +10,10 @@ email: email, username: username, password: password || Ahub::DEFAULT_PASSWORD, } - response = RestClient.post(url, payload.to_json, admin_headers) + response = RestClient.post(url, payload, admin_headers) find(object_id_from_response(response)) end def self.find_by_username(username) matches = find_all(params: {q: username})