mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
fixed linting issues
This commit is contained in:
@@ -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