Fix status url

FossilOrigin-Name: 14df89bf671ce27989d89da79e0db8012c38c20d437eef97e2d86ca88283a036
This commit is contained in:
me@ow.nekobit.net 2022-02-21 04:05:56 +00:00
parent 607386746b
commit e51a10ffc3

View file

@ -198,7 +198,7 @@ int mastodont_favourite_status(mastodont_t* data,
char url[MSTDNT_URLSIZE];
struct mstdnt_fetch_results results = { 0 };
snprintf(url, MSTDNT_URLSIZE,
"api/v1/%s/favourite", id);
"api/v1/statuses/%s/favourite", id);
storage->needs_cleanup = 0;