Fix Bleskomat extension for FastAPI branch

This commit is contained in:
Charles Hill
2021-11-16 11:59:34 -03:00
committed by fiatjaf
parent 1cd7823998
commit 4c77d6f11e
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ def generate_bleskomat_lnurl_secret(api_key_id: str, signature: str):
return m.hexdigest()
def get_callback_url(request: Request):
return request.url_for("bleskomat.api_bleskomat_lnurl")
def get_callback_url(req: Request):
return req.url_for("bleskomat.api_bleskomat_lnurl")
def is_supported_lnurl_subprotocol(tag: str) -> bool: