fix: fix cadence value for instant cadence and update version

This commit is contained in:
Saad Yousaf
2024-04-16 14:08:18 +05:00
committed by Saad Yousaf
parent a057ed44c1
commit 6dd5157fee
2 changed files with 3 additions and 3 deletions

View File

@@ -10,12 +10,12 @@ class EmailCadence:
"""
DAILY = 'Daily'
WEEKLY = 'Weekly'
INSTANTLY = 'Instantly'
IMMEDIATELY = 'Immediately'
NEVER = 'Never'
EMAIL_CADENCE_CHOICES = [
(DAILY, _('Daily')),
(WEEKLY, _('Weekly')),
(INSTANTLY, _('Instantly')),
(IMMEDIATELY, _('Immediately')),
(NEVER, _('Never')),
]
EMAIL_CADENCE_CHOICES_DICT = dict(EMAIL_CADENCE_CHOICES)

View File

@@ -23,7 +23,7 @@ NOTIFICATION_CHANNELS = ['web', 'push', 'email']
ADDITIONAL_NOTIFICATION_CHANNEL_SETTINGS = ['email_cadence']
# Update this version when there is a change to any course specific notification type or app.
COURSE_NOTIFICATION_CONFIG_VERSION = 7
COURSE_NOTIFICATION_CONFIG_VERSION = 8
def get_course_notification_preference_config():