1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 11:26:14 +02:00

fix type error

This commit is contained in:
かっこかり
2024-05-01 13:52:59 +09:00
committed by GitHub
parent 2017f9114f
commit 8c5e564066

View File

@@ -43,7 +43,7 @@ export async function fetchInstance(force = false): Promise<Misskey.entities.Met
const cachedAt = miLocalStorage.getItem('instanceCachedAt') ? parseInt(miLocalStorage.getItem('instanceCachedAt')!) : 0;
if (Date.now() - cachedAt < 1000 * 60 * 60) {
return;
return instance;
}
}