mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 04:16:18 +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({"message": "copilot does not exist"}), HTTPStatus.NOT_FOUND
|
||||||
|
|
||||||
return (
|
return (
|
||||||
jsonify(copilot._asdict(), lnurl=copilot.lnurl),
|
jsonify({**copilot._asdict(), **{"lnurl": copilot.lnurl}}),
|
||||||
HTTPStatus.OK,
|
HTTPStatus.OK,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user