mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01:00
lnurl to ls
This commit is contained in:
parent
98ceb551c7
commit
3ec670785e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ async def api_copilot_retrieve(copilot_id):
|
|||
return jsonify({"message": "copilot does not exist"}), HTTPStatus.NOT_FOUND
|
||||
|
||||
return (
|
||||
jsonify(copilot._asdict(), lnurl=copilot.lnurl),
|
||||
jsonify({**copilot._asdict(), **{"lnurl": copilot.lnurl}}),
|
||||
HTTPStatus.OK,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue