Revert "Update curseForgeAPI.ts"

This reverts commit de22ffb6a3fecc77c329e4cd5c2a3bf93a60f4d2.
This commit is contained in:
tracer4b 2022-07-09 16:21:22 +08:00
parent de22ffb6a3
commit b803be4a5e

View File

@ -123,9 +123,9 @@ export async function fetchProjectsBulk(toFetch: number[]): Promise<CurseForgePr
}) })
)?.data; )?.data;
//if (!fetched) { if (!fetched) {
// throw new Error(`Failed to bulk-fetch projects ${unfetched.join(", ")}`); throw new Error(`Failed to bulk-fetch projects ${unfetched.join(", ")}`);
//} }
modInfos.push(...fetched); modInfos.push(...fetched);