From b010be81807295e4336443a4f8b12d0513b436a5 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 15 Dec 2024 23:25:11 +0100 Subject: [PATCH] Fixed bad url in timeline link. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoapi.c b/mastoapi.c index 6b816f4..2c8c04d 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -1722,7 +1722,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, xs *ifn = user_index_fn(&snac1, "private"); xs *out = mastoapi_timeline(&snac1, args, ifn); - *link = timeline_link_header(cmd, out); + *link = timeline_link_header("/api/v1/timelines/home", out); *body = xs_json_dumps(out, 4); *ctype = "application/json";