snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 7df69f8f1288290a8b948f33ac2368aa456b999e
parent f67c4cf7d95739fb5cfa7e6644565ba9fe4c925c
Author: default <nobody@localhost>
Date:   Mon,  6 May 2024 09:04:46 +0200

Logging, logging, logging everywhere.

Diffstat:
Mmastoapi.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 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);