summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2025-08-01 08:11:59 +0200
committerGravatar grunfink2025-08-01 08:11:59 +0200
commit53216694cf4af93f153989a714c7878d45378789 (patch)
tree4afa83babf530c278181659235b9b24075633f70
parentUpdated documentation. (diff)
downloadsnac2-53216694cf4af93f153989a714c7878d45378789.tar.gz
snac2-53216694cf4af93f153989a714c7878d45378789.tar.xz
snac2-53216694cf4af93f153989a714c7878d45378789.zip
Updated some comments.
-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;