refactor: purge Quart from the codebase

Most functionality is still broken
This commit is contained in:
Stefan Stammberger
2021-08-27 20:54:42 +02:00
parent ede038976f
commit 3e5af8c1d1
17 changed files with 962 additions and 181 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
from lnbits.helpers import url_for
import trio
import hmac
import httpx
from http import HTTPStatus
from os import getenv
from typing import Optional, AsyncGenerator
from quart import request, url_for
from .base import (
StatusResponse,
@@ -63,7 +63,7 @@ class OpenNodeWallet(Wallet):
json={
"amount": amount,
"description": memo or "",
"callback_url": url_for("webhook_listener", _external=True),
"callback_url": url_for("/webhook_listener", _external=True),
},
timeout=40,
)