Closed NeonDaniel closed 5 months ago
Updating a user profile from the Web UI fails. This appears to be related to a missing refactor of the MongoDB command update to update_many.
update
update_many
Profile
Bio
Save Changes
No response
2023-10-24 00:22:53.897 - server_err - chat_server.blueprints.users:update_profile:191 - ERROR - Query command: update is not supported, please use one of the following: {'find_one', 'delete_many', 'insert_one', 'delete_one', 'insert_many', 'update_many', 'find', 'bulk_write'} 2023-10-24 00:22:53.899 - server_err - chat_server.app:log_requests:92 - INFO - rid=YL2VUV completed_in=18.77ms status_code=422 INFO: 10.244.2.67:47586 - "POST /users_api/update HTTP/1.1" 422 Unprocessable Entity
@NeonDaniel resolved with #83
Description
Updating a user profile from the Web UI fails. This appears to be related to a missing refactor of the MongoDB command
update
toupdate_many
.Steps to Reproduce
Profile
Bio
)Save Changes
Relevant Code
No response
Other Notes