0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 06:08:58 +01: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

1 line
101 B
Text

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