Couple little bugs

This commit is contained in:
Ben Arc
2021-04-20 17:43:33 +01:00
parent 361a87110b
commit 83c4f619ae
3 changed files with 10 additions and 5 deletions
+1 -2
View File
@@ -13,7 +13,6 @@ from .crud import get_copilot
@copilot_ext.route("/lnurl/<cp_id>", methods=["GET"])
async def lnurl_response(cp_id):
cp = await get_copilot(cp_id)
print(cp)
if not cp:
return jsonify({"status": "ERROR", "reason": "Copilot not found."})
@@ -47,7 +46,7 @@ async def lnurl_callback(cp_id):
).dict()
),
)
elif amount_received / 1000 > 50000000:
elif amount_received / 1000 > 10000000:
return (
jsonify(
LnurlErrorResponse(