mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-12 14:02:37 +02:00
committed by
GitHub
parent
92887ed169
commit
1b064ceda4
@ -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)
|
||||
|
Reference in New Issue
Block a user