summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 80f1619..7029dfb 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -855,11 +855,6 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
855 else 855 else
856 if (strcmp(cmd, "/notifications") == 0) { 856 if (strcmp(cmd, "/notifications") == 0) {
857 /* TBD */ 857 /* TBD */
858 {
859 xs *j = xs_json_dumps_pp(args, 4);
860 printf("notification args:\n%s\n", j);
861 }
862
863 *body = xs_dup("[]"); 858 *body = xs_dup("[]");
864 *ctype = "application/json"; 859 *ctype = "application/json";
865 status = 200; 860 status = 200;