diff options
| author | 2024-12-15 23:25:11 +0100 | |
|---|---|---|
| committer | 2024-12-15 23:25:11 +0100 | |
| commit | b010be81807295e4336443a4f8b12d0513b436a5 (patch) | |
| tree | a47a0b795b6298dedbbb66a6dd2bba39a18b6e2c /mastoapi.c | |
| parent | Bumped version. (diff) | |
| download | penes-snac2-b010be81807295e4336443a4f8b12d0513b436a5.tar.gz penes-snac2-b010be81807295e4336443a4f8b12d0513b436a5.tar.xz penes-snac2-b010be81807295e4336443a4f8b12d0513b436a5.zip | |
Fixed bad url in timeline link.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1722,7 +1722,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 1722 | xs *ifn = user_index_fn(&snac1, "private"); | 1722 | xs *ifn = user_index_fn(&snac1, "private"); |
| 1723 | xs *out = mastoapi_timeline(&snac1, args, ifn); | 1723 | xs *out = mastoapi_timeline(&snac1, args, ifn); |
| 1724 | 1724 | ||
| 1725 | *link = timeline_link_header(cmd, out); | 1725 | *link = timeline_link_header("/api/v1/timelines/home", out); |
| 1726 | 1726 | ||
| 1727 | *body = xs_json_dumps(out, 4); | 1727 | *body = xs_json_dumps(out, 4); |
| 1728 | *ctype = "application/json"; | 1728 | *ctype = "application/json"; |