Skip to content

Commit

Permalink
fixed type of amount cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Lh4cKg committed Jan 27, 2022
1 parent d5f6286 commit 1d9ee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geopayment/providers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def wrapped(*args, **kwargs):
raise ValueError(
f'Invalid params, `amount` is a required parameter.'
)
data['amount'] = kwargs['amount']
data['amount'] = str(kwargs['amount'])

if 'client_id' not in kwargs:
data['client_id'] = klass.client_id
Expand Down

0 comments on commit 1d9ee2f

Please sign in to comment.