Skip to content

Commit d6b9449

Browse files
committed
chore: get missing nft mints from all cohorts
1 parent 3737775 commit d6b9449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/lib/nft_mints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports.getMissingNfts = async function () {
77
join web3dev_bootcamp.cohorts c2 on c.course_id = c2.course_id
88
join web3dev_bootcamp.users u on u.id = l.user_id
99
left join web3dev_bootcamp.nft_mints n on n.user_id = l.user_id and (n.cohort_id = l.cohort_id or n.cohort_id = c2.id)
10-
where (lesson = 'Lesson_2_Finalize_Celebrate.md' or lesson = 'Lesson_2_Ship_It.md' or lesson = 'Lesson_2_Finalize_And_Celebrate.md' or lesson = 'Lesson_2_Finishing_Touches_Contract.md' or lesson = 'Lesson_5_Course_Completed.md')
10+
where (lesson = 'Lesson_2_Finalize_Celebrate.md' or lesson = 'Lesson_2_Ship_It.md' or lesson = 'Lesson_3_All_Done.md' or lesson = 'Lesson_2_Finalize_And_Celebrate.md' or lesson = 'Lesson_1_Finishing_touches.md' or lesson = 'Lesson_5_Course_Completed.md')
1111
and n.user_id is null
1212
and u.wallet is not null`
1313
return await getQueryResults(query)

0 commit comments

Comments
 (0)