From 563df360df967789a65a643618bd5a0ee5976745 Mon Sep 17 00:00:00 2001 From: Igor Davydov Date: Fri, 8 Oct 2021 01:06:26 +0200 Subject: [PATCH] Fixed double splat --- lib/synapse_api/client.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 - - -