This commit is contained in:
fjrodriguez
2022-11-30 10:29:55 -06:00
parent 577d4aa8e0
commit 773c21286a

View File

@@ -5,7 +5,7 @@ async def req():
results = await sync_to_async(get_saldo, thread_sensitive=True)
def get_saldo(r):
r = requests.get('https://app2.comercio-digital.mx/x3/saldo?usr=SCT050708AD1&pwd=0dcu2SwCv',verify=False)
return {'saldo':r.text}
#r = requests.get('https://app2.comercio-digital.mx/x3/saldo?usr=SCT050708AD1&pwd=0dcu2SwCv',verify=False)
return {'saldo':'j'}