diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-29 12:47:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 12:47:45 -0500 |
commit | 14a73713751f2aea2932708d25eb13dd89f67fa2 (patch) | |
tree | f4f532174efb769dfc2ab7d01efb4fb4d5006601 /changelog.d | |
parent | Update the value of group_creation_prefix in sample config. (#8992) (diff) | |
download | synapse-14a73713751f2aea2932708d25eb13dd89f67fa2.tar.xz |
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.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8975.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8975.bugfix b/changelog.d/8975.bugfix new file mode 100644 index 0000000000..75049b8e18 --- /dev/null +++ b/changelog.d/8975.bugfix @@ -0,0 +1 @@ +Add validation to the `sendToDevice` API to raise a missing parameters error instead of a 500 error. |