mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
Fix the post API issues
This commit is contained in:
parent
3753f7d138
commit
72481e8453
@ -59,8 +59,8 @@ def update_conversation_name():
|
|||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
id = data["id"]
|
id = data["id"]
|
||||||
name = data["name"]
|
name = data["name"]
|
||||||
conversation = conversations_collection.update_one({"_id": ObjectId(id)},{"$set":{"name":name}})
|
conversations_collection.update_one({"_id": ObjectId(id)},{"$set":{"name":name}})
|
||||||
return {"status": "ok","result":conversation}
|
return {"status": "ok"}
|
||||||
|
|
||||||
|
|
||||||
@user.route("/api/feedback", methods=["POST"])
|
@user.route("/api/feedback", methods=["POST"])
|
||||||
|
Loading…
Reference in New Issue
Block a user