diff options
| author | 2023-04-13 06:38:05 +0200 | |
|---|---|---|
| committer | 2023-04-13 06:38:05 +0200 | |
| commit | 963f2cf79a48ae311c6133ca96ddbcb9a985a07d (patch) | |
| tree | bb014155f3cd22079989ae6456912086e1702f18 /mastoapi.c | |
| parent | The snac page has been renamed to what-is-snac. (diff) | |
| download | snac2-963f2cf79a48ae311c6133ca96ddbcb9a985a07d.tar.gz snac2-963f2cf79a48ae311c6133ca96ddbcb9a985a07d.tar.xz snac2-963f2cf79a48ae311c6133ca96ddbcb9a985a07d.zip | |
Updated RELEASE_NOTES.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -1039,6 +1039,12 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 1039 | } | 1039 | } |
| 1040 | } | 1040 | } |
| 1041 | } | 1041 | } |
| 1042 | else | ||
| 1043 | if (strcmp(cmd, "/filters") == 0) { | ||
| 1044 | *body = xs_dup("[]"); | ||
| 1045 | *ctype = "application/json"; | ||
| 1046 | status = 200; | ||
| 1047 | } | ||
| 1042 | 1048 | ||
| 1043 | /* user cleanup */ | 1049 | /* user cleanup */ |
| 1044 | if (logged_in) | 1050 | if (logged_in) |