From e334e18f8ae148cfc833abc38d6081e3ba968f12 Mon Sep 17 00:00:00 2001 From: Amin Latifi Date: Mon, 30 Sep 2024 09:41:55 +0330 Subject: [PATCH] Don't throw error on missed project round records --- src/resolvers/projectResolver.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/resolvers/projectResolver.ts b/src/resolvers/projectResolver.ts index 40d959368..5fba80094 100644 --- a/src/resolvers/projectResolver.ts +++ b/src/resolvers/projectResolver.ts @@ -2198,9 +2198,9 @@ export class ProjectResolver { earlyAccessRoundId, ); - if (!summaries || summaries.length === 0) { - throw new Error(`No donation summaries found for project ${projectId}`); - } + // if (!summaries || summaries.length === 0) { + // throw new Error(`No donation summaries found for project ${projectId}`); + // } return summaries; }