mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
add the conversation in the result response
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user