From 963f2cf79a48ae311c6133ca96ddbcb9a985a07d Mon Sep 17 00:00:00 2001 From: default Date: Thu, 13 Apr 2023 06:38:05 +0200 Subject: Updated RELEASE_NOTES. --- mastoapi.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index 9e9b572..ba42912 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -1039,6 +1039,12 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, } } } + else + if (strcmp(cmd, "/filters") == 0) { + *body = xs_dup("[]"); + *ctype = "application/json"; + status = 200; + } /* user cleanup */ if (logged_in) -- cgit v1.2.3