This commit is contained in:
github-actions[bot] 2022-10-10 20:41:50 +00:00 committed by GitHub
commit 01bb0d111e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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