mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-21 14:10:30 +02:00
lnurl to ls
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user