summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-06 09:04:46 +0200
committerdefault <nobody@localhost>2024-05-06 09:04:46 +0200
commit7df69f8f1288290a8b948f33ac2368aa456b999e (patch)
tree074ce1a8cff6cac65be2125ff7d11fc9852a53b1 /mastoapi.c
parentf67c4cf7d95739fb5cfa7e6644565ba9fe4c925c (diff)
Logging, logging, logging everywhere.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mastoapi.c b/mastoapi.c
index e9b3993..1f7f0b2 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1467,9 +1467,8 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
if (limit == 0)
limit = 20;
- snac_debug(&snac1, 1,
- xs_fmt("/v1/timelines/home: max_id=%s since_id=%s min_id=%s limit=%s",
- max_id, since_id, min_id, limit_s));
+ xs *ja = xs_json_dumps(args, 0);
+ snac_debug(&snac1, 1, xs_fmt("/v1/timelines/home: args='%s'", ja));
xs *timeline = timeline_simple_list(&snac1, "private", 0, 2048);