Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadranjbarz committed Jul 22, 2024
1 parent b15d9dc commit 4b00b3c
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import {
updateUserTotalDonated,
updateUserTotalReceived,
} from '../src/services/userService';
import { updateTotalDonationsOfProject } from '../src/services/donationService';
import {
refreshProjectDonationSummaryView,
refreshProjectEstimatedMatchingView,
} from '../src/services/projectViewsService';
import { updateProjectStatistics } from '../src/services/projectService';

const millisecondTimestampToDate = (timestamp: number): Date => {
Expand Down Expand Up @@ -152,12 +147,10 @@ export class AddSponserDonationsToGivbackRound651720771952062

await updateUserTotalDonated(user.id);
await updateUserTotalReceived(project.adminUser?.id);
await updateTotalDonationsOfProject(tx.projectId as number);
await updateProjectStatistics(tx.projectId as number);

Check failure on line 151 in migration/1720771952062-add_sponser_donations_to_givback_round_65.ts

View workflow job for this annotation

GitHub Actions / test

Replace `⏎····}⏎` with `····}`
}

await refreshProjectEstimatedMatchingView();
await refreshProjectDonationSummaryView();
}

async down(_queryRunner: QueryRunner): Promise<void> {
Expand Down

0 comments on commit 4b00b3c

Please sign in to comment.