mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Fixed bad url in timeline link.
This commit is contained in:
parent
e79cd9f71f
commit
b010be8180
1 changed files with 1 additions and 1 deletions
|
@ -1722,7 +1722,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
||||||
xs *ifn = user_index_fn(&snac1, "private");
|
xs *ifn = user_index_fn(&snac1, "private");
|
||||||
xs *out = mastoapi_timeline(&snac1, args, ifn);
|
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);
|
*body = xs_json_dumps(out, 4);
|
||||||
*ctype = "application/json";
|
*ctype = "application/json";
|
||||||
|
|
Loading…
Reference in a new issue