mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 20:36:16 +02:00
Should be working
Need to debug lnurl logic, but apart from that I think its done
This commit is contained in:
@@ -99,10 +99,10 @@ async def api_copilot_delete(copilot_id):
|
||||
|
||||
return "", HTTPStatus.NO_CONTENT
|
||||
|
||||
#############################PAYMENTHOOK##########################
|
||||
#############################PAYMENTHOOKER##########################
|
||||
|
||||
@copilot_ext.route("/api/v1/copilot/hook/<copilot_id>", 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:
|
||||
|
Reference in New Issue
Block a user