aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-12-15 23:25:11 +0100
committerdefault <nobody@localhost>2024-12-15 23:25:11 +0100
commitb010be81807295e4336443a4f8b12d0513b436a5 (patch)
treea47a0b795b6298dedbbb66a6dd2bba39a18b6e2c
parente79cd9f71fa4b453e07018497370c5bb072a3987 (diff)
Fixed bad url in timeline link.
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
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";