Skip to content

Commit

Permalink
Merge pull request #1636 from Giveth/remove-insertDonationsFromQfRoun…
Browse files Browse the repository at this point in the history
…dHistory-from-syncDonationStatusWithBlockchainNetwork

remove insertDonationsFromQfRoundHistory from syncDonationStatusWitBlockchainNetwork
  • Loading branch information
RamRamez authored Jun 20, 2024
2 parents b20d23d + 404c648 commit 86107c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/services/donationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ export const syncDonationStatusWithBlockchainNetwork = async (params: {
donation,
});

await refreshProjectEstimatedMatchingView();
await insertDonationsFromQfRoundHistory();
if (donation.qfRoundId) {
await refreshProjectEstimatedMatchingView();
}
await updateProjectStatistics(donation.projectId);

const donationStats = await getUserDonationStats(donation.userId);
Expand Down

0 comments on commit 86107c8

Please sign in to comment.