mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 20:16:48 +00:00
fixed linting issues
This commit is contained in:
1 parent
e9a2b8f03a
commit
faf031ce80
2 files changed
+12
-25
No files matched your search
@@ -196,10 +196,6 @@ class SubmitFeedback(Resource):
|
||||
if missing_fields:
|
||||
return missing_fields
|
||||
|
||||
|
||||
if "api_key" in data:
|
||||
new_doc["api_key"] = data["api_key"]
|
||||
|
||||
try:
|
||||
conversations_collection.update_one(
|
||||
{"_id": ObjectId(data["conversation_id"]), f"queries.{data["question_index"]}": {"$exists": True}},
|
||||
|
||||
Reference in new issue
Block a user