mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
print test
This commit is contained in:
parent
37c9b9e825
commit
1d27f88b96
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue