0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-31 23:44:57 +02:00
synapse/changelog.d/8975.bugfix
Patrick Cloke 14a7371375
Validate input parameters for the sendToDevice API. (#8975)
This makes the "messages" key in the content required. This is currently
optional in the spec, but that seems to be an error.
2020-12-29 12:47:45 -05:00

2 lines
101 B
Plaintext

Add validation to the `sendToDevice` API to raise a missing parameters error instead of a 500 error.