snac2

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

commit b010be81807295e4336443a4f8b12d0513b436a5
parent e79cd9f71fa4b453e07018497370c5bb072a3987
Author: default <nobody@localhost>
Date:   Sun, 15 Dec 2024 23:25:11 +0100

Fixed bad url in timeline link.

Diffstat:
Mmastoapi.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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