diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -2135,7 +2135,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 2135 | } | 2135 | } |
| 2136 | else | 2136 | else |
| 2137 | if (strcmp(cmd, "/v1/scheduled_statuses") == 0) { /** **/ | 2137 | if (strcmp(cmd, "/v1/scheduled_statuses") == 0) { /** **/ |
| 2138 | /* snac does not schedule notes */ | 2138 | /* TBD */ |
| 2139 | *body = xs_dup("[]"); | 2139 | *body = xs_dup("[]"); |
| 2140 | *ctype = "application/json"; | 2140 | *ctype = "application/json"; |
| 2141 | status = HTTP_STATUS_OK; | 2141 | status = HTTP_STATUS_OK; |
| @@ -2500,6 +2500,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 2500 | } | 2500 | } |
| 2501 | else | 2501 | else |
| 2502 | if (strcmp(cmd, "/v1/preferences") == 0) { /** **/ | 2502 | if (strcmp(cmd, "/v1/preferences") == 0) { /** **/ |
| 2503 | /* TBD */ | ||
| 2503 | *body = xs_dup("{}"); | 2504 | *body = xs_dup("{}"); |
| 2504 | *ctype = "application/json"; | 2505 | *ctype = "application/json"; |
| 2505 | status = HTTP_STATUS_OK; | 2506 | status = HTTP_STATUS_OK; |