mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
commit
c063e245dc
1 changed files with 1 additions and 3 deletions
|
@ -187,9 +187,7 @@ class SparkWallet(Wallet):
|
|||
|
||||
while True:
|
||||
try:
|
||||
async with httpx.AsyncClient(
|
||||
timeout=None, headers=self.token
|
||||
) as client:
|
||||
async with httpx.AsyncClient(timeout=None) as client:
|
||||
async with client.stream("GET", url) as r:
|
||||
async for line in r.aiter_lines():
|
||||
if line.startswith("data:"):
|
||||
|
|
Loading…
Add table
Reference in a new issue