reactivate actions (#682)

* reactivate other actions

* black

* codeql 2

* black only

* remove mock event loop

* do not follow grpc
This commit is contained in:
calle
2022-06-27 01:11:35 +02:00
committed by GitHub
parent f6da260464
commit e7dd3ec64f
9 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ async def create_withdraw_link(
urlsafe_short_hash(),
int(datetime.now().timestamp()) + data.wait_time,
usescsv,
data.webhook_url
data.webhook_url,
),
)
link = await get_withdraw_link(link_id, 0)
+1 -1
View File
@@ -114,7 +114,7 @@ async def api_lnurl_callback(
await update_withdraw_link(link.id, **changes)
payment_request = pr
payment_hash = await pay_invoice(
wallet_id=link.wallet,
payment_request=payment_request,
+2 -1
View File
@@ -109,8 +109,9 @@ async def m003_make_hash_check(db):
"""
)
async def m004_webhook_url(db):
"""
Adds webhook_url
"""
await db.execute("ALTER TABLE withdraw.withdraw_link ADD COLUMN webhook_url TEXT;")
await db.execute("ALTER TABLE withdraw.withdraw_link ADD COLUMN webhook_url TEXT;")