mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
fix type error
This commit is contained in:
parent
2017f9114f
commit
8c5e564066
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue