commit b010be8

default  ·  2024-12-15 22:25:11 +0000 UTC
parent e79cd9f
Fixed bad url in timeline link.
1 files changed,  +1, -1
+1, -1
1@@ -1722,7 +1722,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
2             xs *ifn = user_index_fn(&snac1, "private");
3             xs *out = mastoapi_timeline(&snac1, args, ifn);
4 
5-            *link = timeline_link_header(cmd, out);
6+            *link = timeline_link_header("/api/v1/timelines/home", out);
7 
8             *body  = xs_json_dumps(out, 4);
9             *ctype = "application/json";