mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.209.2
This commit is contained in:
@@ -1987,7 +1987,7 @@ class DataLoader {
|
||||
}
|
||||
|
||||
static async pCacheAndGetHash (page, hash, opts) {
|
||||
const {source} = UrlUtil.autoDecodeHash(hash, {page});
|
||||
const {source} = await UrlUtil.pAutoDecodeHash(hash, {page});
|
||||
if (!source) {
|
||||
if (opts.isRequired) throw new Error(`Could not find entity for page "${page}" with hash "${hash}"`);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user