From 5a06c0066eb795927d56e2e19a06281a3e99a86a Mon Sep 17 00:00:00 2001 From: Giovanni Bottaro Date: Mon, 24 Apr 2023 19:35:05 +0200 Subject: [PATCH] modules/client/user/filter: Set the HTTP response status code according to Matrix spec --- modules/client/user/filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client/user/filter.cc b/modules/client/user/filter.cc index 6a1fc4e4a..461ceb64f 100644 --- a/modules/client/user/filter.cc +++ b/modules/client/user/filter.cc @@ -122,7 +122,7 @@ post__filter(client &client, return m::resource::response { - client, http::CREATED, + client, http::OK, { { "filter_id", filter_id } }