We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c6ba4a commit 9cbca92Copy full SHA for 9cbca92
backend/app.py
@@ -79,7 +79,7 @@ def addpath():
79
80
user = user_db.find_one({'email': email})
81
if user:
82
- user_db.update_one({'email': email}, {'$push': {'path': (path, doc_name)}})
+ user_db.update_one({'email': email}, {'$push': {'path': path}})
83
return jsonify({'message': 'Path added'}), 200
84
else:
85
return jsonify({'message': 'User not found'}), 400
0 commit comments