mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
add the conversation in the result response
This commit is contained in:
parent
036297ef36
commit
95fe103718
@ -60,7 +60,7 @@ def update_conversation_name():
|
||||
id = data["id"]
|
||||
name = data["name"]
|
||||
conversation = conversations_collection.update_one({"_id": ObjectId(id)},{"$set":{"name":name}})
|
||||
return {"status": "ok"}
|
||||
return {"status": "ok","result":conversation}
|
||||
|
||||
|
||||
@user.route("/api/feedback", methods=["POST"])
|
||||
|
Loading…
Reference in New Issue
Block a user