Skip to content

Commit

Permalink
Fixed default value initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Oct 9, 2024
1 parent fa0f53f commit 24b26e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repositories/projectRoundRecordRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export async function updateOrCreateProjectRoundRecord(
projectId,
qfRoundId,
earlyAccessRoundId,
totalDonationAmount,
totalDonationUsdAmount,
totalDonationAmount: totalDonationAmount || 0,
totalDonationUsdAmount: totalDonationUsdAmount || 0,
cumulativePastRoundsDonationAmounts,
createdAt: new Date(),
updatedAt: new Date(),
Expand Down

0 comments on commit 24b26e1

Please sign in to comment.