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
Add a link
Reference in a new issue