mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
fix federation widget
This commit is contained in:
parent
03f9c73bc5
commit
9450fb4ddb
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const fetch = async () => {
|
|||
sort: '+lastCommunicatedAt',
|
||||
limit: 5
|
||||
});
|
||||
const fetchedCharts = await Promise.all(instances.map(i => os.api('charts/instance', { host: i.host, limit: 16, span: 'hour' })));
|
||||
const fetchedCharts = await Promise.all(fetchedInstances.map(i => os.api('charts/instance', { host: i.host, limit: 16, span: 'hour' })));
|
||||
instances.value = fetchedInstances;
|
||||
charts.value = fetchedCharts;
|
||||
fetching.value = false;
|
||||
|
|
Loading…
Reference in a new issue