Skip to content

Fix message PATCH KeyError when content missing#8

Merged
inventionpro merged 1 commit intoParley-Chat:mainfrom
TerryCodes:fix/message-management-content-keyerror
Apr 2, 2026
Merged

Fix message PATCH KeyError when content missing#8
inventionpro merged 1 commit intoParley-Chat:mainfrom
TerryCodes:fix/message-management-content-keyerror

Conversation

@TerryCodes
Copy link
Copy Markdown
Contributor

Prevents KeyError when PATCHing /channel//message/ without a content field by using request.form.get and validating presence before access. Keeps existing code style.

@inventionpro inventionpro merged commit 50d7dde into Parley-Chat:main Apr 2, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants