From 525ce4cadf7788637fc3d46300d5e39a1f213bf1 Mon Sep 17 00:00:00 2001 From: "P.T" Date: Fri, 6 Oct 2023 20:32:31 +0200 Subject: [PATCH] fixed typo --- lib/payroll_hero/api/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/payroll_hero/api/client.rb b/lib/payroll_hero/api/client.rb index 15d1986..876255e 100644 --- a/lib/payroll_hero/api/client.rb +++ b/lib/payroll_hero/api/client.rb @@ -14,7 +14,7 @@ def initialize(token, base_url, cookies = {}) } headers.merge!({ 'Cookie' => cookies.map { |key, value| "#{key}=#{value}" }.join('; ') }) unless cookies.empty? params = { - token:, + token: token, } @client = Faraday.new(url: base_url) do |faraday| faraday.request :url_encoded