Revert "Update curseForgeAPI.ts"
This reverts commit de22ffb6a3fecc77c329e4cd5c2a3bf93a60f4d2.
This commit is contained in:
parent
de22ffb6a3
commit
b803be4a5e
@ -123,9 +123,9 @@ export async function fetchProjectsBulk(toFetch: number[]): Promise<CurseForgePr
|
||||
})
|
||||
)?.data;
|
||||
|
||||
//if (!fetched) {
|
||||
// throw new Error(`Failed to bulk-fetch projects ${unfetched.join(", ")}`);
|
||||
//}
|
||||
if (!fetched) {
|
||||
throw new Error(`Failed to bulk-fetch projects ${unfetched.join(", ")}`);
|
||||
}
|
||||
|
||||
modInfos.push(...fetched);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user