Skip to content

Commit

Permalink
add passport score to streams minidonations
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosQ96 committed May 23, 2024
1 parent 39c3e59 commit ef4742c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/recurringDonationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ export const createRelatedDonationsToStream = async (
activeQfRoundForProject &&
activeQfRoundForProject.isEligibleNetwork(networkId)
) {
const projectOwner = await User.findOneBy({ id: project.adminUserId });
donation.qfRound = activeQfRoundForProject;
donation.qfRoundUserScore = projectOwner?.passportScore;
}

const { givbackFactor, projectRank, bottomRankInRound, powerRound } =
Expand Down

0 comments on commit ef4742c

Please sign in to comment.