diff --git a/lib/synapse_api/client.rb b/lib/synapse_api/client.rb index fbbe94a..36e6d6c 100644 --- a/lib/synapse_api/client.rb +++ b/lib/synapse_api/client.rb @@ -51,7 +51,7 @@ def initialize(client_id:, client_secret:, ip_address:, fingerprint:nil,developm def create_user(payload:, ip_address:, **options) client.update_headers(ip_address: ip_address, fingerprint: options[:fingerprint]) - response = client.post(user_path,payload, options) + response = client.post(user_path, payload, **options) User.new(user_id: response['_id'], refresh_token: response['refresh_token'], @@ -403,6 +403,3 @@ def subscriptions_path(**options) end end end - - -