NeonGeckoCom / pyklatchat

Pythonic Version of Klatchat
Other
2 stars 0 forks source link

[BUG] User Profile Updates Fail #74

Closed NeonDaniel closed 5 months ago

NeonDaniel commented 11 months ago

Description

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.

Steps to Reproduce

Relevant Code

No response

Other Notes

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
NeonKirill commented 5 months ago

@NeonDaniel resolved with #83