Update index.ts

This commit is contained in:
luke-hagar-sp
2024-02-29 17:52:38 -05:00
parent f0f4ec951a
commit 46bb6cdc20

View File

@@ -207,8 +207,6 @@ export async function getContributionCollection(
viewer: { contributionsCollection: ContributionsCollection };
}[];
console.debug(years);
if (years.length === 0) {
throw new Error("Failed to fetch data for all years");
}