mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +01:00
parent
92887ed169
commit
1b064ceda4
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async def api_link_retrieve(
|
|||
raise HTTPException(
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue