drop lastCommunicatedAt of instance

This commit is contained in:
syuilo
2023-01-03 09:00:42 +09:00
parent 7093573f0c
commit c8bd139713
15 changed files with 19 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ const fetching = ref(true);
const fetch = async () => {
const fetchedInstances = await os.api('federation/instances', {
sort: '+lastCommunicatedAt',
sort: '+latestRequestReceivedAt',
limit: 6,
});
instances.value = fetchedInstances;

View File

@@ -153,7 +153,7 @@ onMounted(async () => {
});
os.api('federation/instances', {
sort: '+lastCommunicatedAt',
sort: '+latestRequestReceivedAt',
limit: 25,
}).then(res => {
activeInstances = res;