Skip to content

Commit

Permalink
remove \n from token
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-santos-foxbit committed Aug 22, 2024
1 parent c9def05 commit cf8e6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lightspark-client/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def request(payload)
end

def request_headers
token = Base64.encode64("#{@client_id}:#{@client_secret}")
token = Base64.encode64("#{@client_id}:#{@client_secret}").gsub("\n", "")

{
"Content-Type" => "application/json",
Expand Down

0 comments on commit cf8e6e1

Please sign in to comment.