We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8abe35 commit be48279Copy full SHA for be48279
src/services/cronJobs/updateGitcoinScoresJob.ts
@@ -26,7 +26,7 @@ export const runUpdateGitcoinScoresJob = () => {
26
skipVerification: true,
27
})
28
.andWhere(
29
- '(user.analysisScore < :minAnalysisScore OR user.passportScore < :minPassportScore)',
+ '(user.analysisScore IS NULL OR user.passportScore IS NULL OR user.analysisScore < :minAnalysisScore OR user.passportScore < :minPassportScore)',
30
{
31
minAnalysisScore: GITCOIN_PASSPORT_MIN_VALID_ANALYSIS_SCORE,
32
minPassportScore: GITCOIN_PASSPORT_MIN_VALID_SCORER_SCORE,
0 commit comments