mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 20:42:32 +02:00
print test
This commit is contained in:
@@ -67,12 +67,13 @@ async def panel(copilot_id):
|
|||||||
@copilot_ext.route("/api/v1/copilot/hook/<copilot_id>/<amount>", methods=["GET"])
|
@copilot_ext.route("/api/v1/copilot/hook/<copilot_id>/<amount>", methods=["GET"])
|
||||||
async def api_copilot_hooker(copilot_id, amount):
|
async def api_copilot_hooker(copilot_id, amount):
|
||||||
copilot = await get_copilot(copilot_id)
|
copilot = await get_copilot(copilot_id)
|
||||||
|
print(amount)
|
||||||
if not copilot:
|
if not copilot:
|
||||||
return (
|
return (
|
||||||
jsonify({"message": "Copilot link link does not exist."}),
|
jsonify({"message": "Copilot link link does not exist."}),
|
||||||
HTTPStatus.NOT_FOUND,
|
HTTPStatus.NOT_FOUND,
|
||||||
)
|
)
|
||||||
|
print(amount)
|
||||||
if (
|
if (
|
||||||
copilot.animation1threshold
|
copilot.animation1threshold
|
||||||
and int(amount) > copilot.animation1threshold
|
and int(amount) > copilot.animation1threshold
|
||||||
|
Reference in New Issue
Block a user