Skip to content

Commit

Permalink
Merge pull request #115 from GeneralMagicio/fix/create-donation-round…
Browse files Browse the repository at this point in the history
…-matching

Fixed issue in finding round in create donation
  • Loading branch information
ae2079 authored Oct 30, 2024
2 parents 65dd43d + ee14989 commit ee60ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolvers/donationResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,9 +832,9 @@ export class DonationResolver {
let qfRound: QfRound | null = null;

if (hasCap) {
earlyAccessRound = await findActiveEarlyAccessRound();
earlyAccessRound = await findActiveEarlyAccessRound(donateTime);
if (!earlyAccessRound) {
qfRound = await findActiveQfRound();
qfRound = await findActiveQfRound({ date: donateTime });
}
}
const donation = Donation.create({
Expand Down

0 comments on commit ee60ee9

Please sign in to comment.