mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-22 07:06:08 +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"])
|
||||
async def api_copilot_hooker(copilot_id, amount):
|
||||
copilot = await get_copilot(copilot_id)
|
||||
|
||||
print(amount)
|
||||
if not copilot:
|
||||
return (
|
||||
jsonify({"message": "Copilot link link does not exist."}),
|
||||
HTTPStatus.NOT_FOUND,
|
||||
)
|
||||
print(amount)
|
||||
if (
|
||||
copilot.animation1threshold
|
||||
and int(amount) > copilot.animation1threshold
|
||||
|
Reference in New Issue
Block a user