Skip to content

Commit

Permalink
Merge pull request #2114 from ParthipPR/dev
Browse files Browse the repository at this point in the history
"fix: key error at /api/v1/donate/verify/"
  • Loading branch information
jelanmathewjames authored Jun 24, 2024
2 parents 07401a7 + 91f60d3 commit 653d947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/donate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def post(self, request):
)
transaction_details = {
"Amount": float(data['amount']) / 100,
"Currency": data['currency', None],
"Currency": data.get('currency', None),
"Name": data['notes']['name'],
"Email": data['notes']['email'],
}
Expand Down

0 comments on commit 653d947

Please sign in to comment.