Should be working
Need to debug lnurl logic, but apart from that I think its done
This commit is contained in:
parent
1af84b2b3d
commit
704fc042cb
1 changed files with 2 additions and 2 deletions
|
|
@ -99,10 +99,10 @@ async def api_copilot_delete(copilot_id):
|
||||||
|
|
||||||
return "", HTTPStatus.NO_CONTENT
|
return "", HTTPStatus.NO_CONTENT
|
||||||
|
|
||||||
#############################PAYMENTHOOK##########################
|
#############################PAYMENTHOOKER##########################
|
||||||
|
|
||||||
@copilot_ext.route("/api/v1/copilot/hook/<copilot_id>", methods=["POST"])
|
@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)
|
copilot = await get_copilot(copilot_id)
|
||||||
|
|
||||||
if not copilot:
|
if not copilot:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue