summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-13 06:38:05 +0200
committerdefault <nobody@localhost>2023-04-13 06:38:05 +0200
commit963f2cf79a48ae311c6133ca96ddbcb9a985a07d (patch)
treebb014155f3cd22079989ae6456912086e1702f18 /mastoapi.c
parentff4cee0b5cbbafe50caf9773c0dff2459193dfbd (diff)
Updated RELEASE_NOTES.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c6
1 files changed, 6 insertions, 0 deletions
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)