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({"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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue