mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Set<number | bigint> Map<number | bigint, xxx> not works well
This commit is contained in:
@@ -212,7 +212,7 @@ export async function download_task(
|
||||
task.gid,
|
||||
task.token,
|
||||
]);
|
||||
const gdata = gdatas.map.get(task.gid);
|
||||
const gdata = gdatas.map.get(BigInt(task.gid));
|
||||
if (gdata === undefined) throw Error("Gallery metadata not included.");
|
||||
if (typeof gdata === "string") throw Error(gdata);
|
||||
const gmeta = gdatas.convert(gdata);
|
||||
|
||||
Reference in New Issue
Block a user