formatting.

This commit is contained in:
fiatjaf
2020-11-18 22:26:30 -03:00
parent a67b93108b
commit 594e28eab7
5 changed files with 11 additions and 13 deletions
+5 -1
View File
@@ -79,6 +79,10 @@ async def api_lnurl_callback(link_id):
extra={"tag": "lnurlp", "link": link.id, "comment": comment},
)
resp = LnurlPayActionResponse(pr=payment_request, success_action=link.success_action(payment_hash), routes=[],)
resp = LnurlPayActionResponse(
pr=payment_request,
success_action=link.success_action(payment_hash),
routes=[],
)
return jsonify(resp.dict()), HTTPStatus.OK