diff options
| author | 2025-08-01 08:11:59 +0200 | |
|---|---|---|
| committer | 2025-08-01 08:11:59 +0200 | |
| commit | 53216694cf4af93f153989a714c7878d45378789 (patch) | |
| tree | 4afa83babf530c278181659235b9b24075633f70 | |
| parent | Updated documentation. (diff) | |
| download | snac2-53216694cf4af93f153989a714c7878d45378789.tar.gz snac2-53216694cf4af93f153989a714c7878d45378789.tar.xz snac2-53216694cf4af93f153989a714c7878d45378789.zip | |
Updated some comments.
| -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; |