mirror of
https://github.com/matrix-construct/construct
synced 2024-05-16 01:43:49 +02:00
modules/client/user/filter: Set the HTTP response status code according to Matrix spec
This commit is contained in:
parent
4ebc9fefaf
commit
5a06c0066e
|
@ -122,7 +122,7 @@ post__filter(client &client,
|
||||||
|
|
||||||
return m::resource::response
|
return m::resource::response
|
||||||
{
|
{
|
||||||
client, http::CREATED,
|
client, http::OK,
|
||||||
{
|
{
|
||||||
{ "filter_id", filter_id }
|
{ "filter_id", filter_id }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue