From 704fc042cbcca8c3cdf6452c97993d564034e2c7 Mon Sep 17 00:00:00 2001 From: Ben Arc Date: Thu, 15 Apr 2021 09:41:37 +0100 Subject: [PATCH] Should be working Need to debug lnurl logic, but apart from that I think its done --- lnbits/extensions/copilot/views_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/copilot/views_api.py b/lnbits/extensions/copilot/views_api.py index 76e82046..d45aec7e 100644 --- a/lnbits/extensions/copilot/views_api.py +++ b/lnbits/extensions/copilot/views_api.py @@ -99,10 +99,10 @@ async def api_copilot_delete(copilot_id): return "", HTTPStatus.NO_CONTENT -#############################PAYMENTHOOK########################## +#############################PAYMENTHOOKER########################## @copilot_ext.route("/api/v1/copilot/hook/", methods=["POST"]) -async def api_copilot_delete(copilot_id, trigger): +async def api_copilot_hooker(copilot_id, trigger): copilot = await get_copilot(copilot_id) if not copilot: