synapse-product/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.