maybe fix?
This commit is contained in:
parent
33b931b5f1
commit
0f68b2b69e
@ -15,8 +15,11 @@ export default class BeatSaverService {
|
|||||||
if (toObject.notFound) {
|
if (toObject.notFound) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
// Return the map if it doesn't need to be refreshed
|
||||||
|
if (!toObject.shouldRefresh()) {
|
||||||
return toObject;
|
return toObject;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const token = await beatsaverService.lookupMap(hash);
|
const token = await beatsaverService.lookupMap(hash);
|
||||||
const uploader = token?.uploader;
|
const uploader = token?.uploader;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
|
"isolatedModules": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
|
Reference in New Issue
Block a user