Update app.py
Browse files
app.py
CHANGED
|
@@ -482,7 +482,7 @@ async def FetchVelocityGET(x402id:str,request:Request):
|
|
| 482 |
f"https://facilitator.payai.network/settle",
|
| 483 |
json=settle_payload
|
| 484 |
)
|
| 485 |
-
|
| 486 |
if settle_raw_data.get("success")==True:
|
| 487 |
|
| 488 |
updateInvoice(owner=wallet,endpoint_linker=x402id,data=invoicePayload)
|
|
|
|
| 482 |
f"https://facilitator.payai.network/settle",
|
| 483 |
json=settle_payload
|
| 484 |
)
|
| 485 |
+
settle_raw_data=resp.json()
|
| 486 |
if settle_raw_data.get("success")==True:
|
| 487 |
|
| 488 |
updateInvoice(owner=wallet,endpoint_linker=x402id,data=invoicePayload)
|