SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0f6b37311645d7d373f57c6773a5df850c120843
parent 1cd4d5e7a746b7fd95ecd57a32571646e747f6dd
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date:   Wed, 14 Jul 2021 02:07:17 +1000

Change response check logic to remove dict key bug

Diffstat:
Msatsale.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/satsale.py b/satsale.py @@ -197,7 +197,7 @@ class check_payment(Resource): # Don't send paid amounts if payment is expired. response.update(status) - if status['payment_complete'] == 1: + if response['payment_complete'] == 1: code = 200 else: code = 201