0
0
Fork 0
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:
Giovanni Bottaro 2023-04-24 19:35:05 +02:00 committed by Jason Volk
parent 4ebc9fefaf
commit 5a06c0066e

View file

@ -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 }
} }