This commit is contained in:
Ben Arc
2021-04-16 20:59:56 +01:00
parent 1d27f88b96
commit 4a15dfc667

View File

@@ -67,7 +67,7 @@ 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) 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."}),