mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-13 06:22:41 +02:00
committed by
GitHub
parent
92887ed169
commit
1b064ceda4
@ -60,7 +60,7 @@ async def api_link_retrieve(
|
|||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
detail="Not your withdraw link.", status_code=HTTPStatus.FORBIDDEN
|
detail="Not your withdraw link.", status_code=HTTPStatus.FORBIDDEN
|
||||||
)
|
)
|
||||||
return {**link, **{"lnurl": link.lnurl(request)}}
|
return {**link.dict(), **{"lnurl": link.lnurl(request)}}
|
||||||
|
|
||||||
|
|
||||||
@withdraw_ext.post("/api/v1/links", status_code=HTTPStatus.CREATED)
|
@withdraw_ext.post("/api/v1/links", status_code=HTTPStatus.CREATED)
|
||||||
|
Reference in New Issue
Block a user