Skip to content

Commit

Permalink
Update client.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr authored Apr 2, 2024
1 parent 0c7f491 commit 417a977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pokepay_partner_ruby_sdk/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def request(request_class, path, body_params, response_class)
params = {"partner_client_id" => @client_id,
"data" => Base64.urlsafe_encode64(@crypto.encrypt(JSON.generate(encrypt_data))).tr("=", "")}
req = request_class.new(path)
req['user-agent'] = 'pokepay_partner_ruby_sdk ' + Pokepay::VERSION
req['user-agent'] = 'pokepay_partner_ruby_sdk/' + Pokepay::VERSION
req.set_form_data(params)
if not @http.active?
@http.start()
Expand Down

0 comments on commit 417a977

Please sign in to comment.