Fix for mastodont api

FossilOrigin-Name: cd9b5b0693f63fd32c13354431af76d0f010e92390b8f6162635d574aaf7f5b9
This commit is contained in:
me@ow.nekobit.net 2022-01-26 03:15:25 +00:00
parent 38536d9f22
commit 0cd78e7795

View file

@ -26,6 +26,7 @@
void content_index(mastodont_t* api)
{
struct mstdnt_status* statuses;
mastodont_timeline_public(api, NULL, &statuses);
struct mstdnt_storage storage;
mastodont_timeline_public(api, NULL, &storage, &statuses);
printf(data_index_html, config_canonical_name);
}