From 2d5d63554c32c7166933ce0d7d842c05471c83fe Mon Sep 17 00:00:00 2001 From: default Date: Thu, 13 Apr 2023 15:32:13 +0200 Subject: Started working on a notification list. --- mastoapi.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index 7029dfb..80f1619 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -855,6 +855,11 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, else if (strcmp(cmd, "/notifications") == 0) { /* TBD */ + { + xs *j = xs_json_dumps_pp(args, 4); + printf("notification args:\n%s\n", j); + } + *body = xs_dup("[]"); *ctype = "application/json"; status = 200; -- cgit v1.2.3