summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 2331a86..08bb5f7 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -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;