payment webhook set to false exernal

This commit is contained in:
Ben Arc 2021-04-19 09:50:42 +01:00
parent a0001a015a
commit 05317eb5d6

View file

@ -76,7 +76,7 @@ async def lnurl_callback(cp_id):
copilot_id=cp_id, copilot_id=cp_id,
amount=int(amount_received / 1000), amount=int(amount_received / 1000),
comment=comment, comment=comment,
_external=True, _external=False,
))[:-1], ))[:-1],
description_hash=hashlib.sha256( description_hash=hashlib.sha256(
( (
@ -97,7 +97,7 @@ async def lnurl_callback(cp_id):
copilot_id=cp_id, copilot_id=cp_id,
amount=int(amount_received / 1000), amount=int(amount_received / 1000),
comment=comment, comment=comment,
_external=True, _external=False,
))[:-1] ))[:-1]
) )
return jsonify(resp.dict()) return jsonify(resp.dict())