Change badge award notif setting group

This commit is contained in:
Ian Philips 2022-10-10 14:41:24 -06:00
parent 867cdf2496
commit 17d0fb7da6
2 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ async function handleBettingStreakBadgeAward(
user.achievements?.streaker?.badges.some( user.achievements?.streaker?.badges.some(
(badge) => badge.data.totalBettingStreak === 1 (badge) => badge.data.totalBettingStreak === 1
) )
// TODO: check if already awarded 50th streak as well
if (newBettingStreak === 1 && alreadyHasBadgeForFirstStreak) return if (newBettingStreak === 1 && alreadyHasBadgeForFirstStreak) return
if (newBettingStreak in streakerBadgeRarityThresholds) { if (newBettingStreak in streakerBadgeRarityThresholds) {

View File

@ -131,7 +131,6 @@ export function NotificationSettings(props: {
'betting_streaks', 'betting_streaks',
'referral_bonuses', 'referral_bonuses',
'unique_bettors_on_your_contract', 'unique_bettors_on_your_contract',
'badges_awarded',
], ],
} }
const otherBalances: SectionData = { const otherBalances: SectionData = {
@ -140,6 +139,7 @@ export function NotificationSettings(props: {
'loan_income', 'loan_income',
'limit_order_fills', 'limit_order_fills',
'tips_on_your_comments', 'tips_on_your_comments',
'badges_awarded',
], ],
} }
const userInteractions: SectionData = { const userInteractions: SectionData = {