[notifications] Fix a few typos
This commit is contained in:
@ -330,7 +330,7 @@ def send_mood_checkin_reminders() -> int:
|
||||
now = timezone.now()
|
||||
notifications_sent = 0
|
||||
for profile in UserProfile.objects.filter(mood_checkin_enabled=True):
|
||||
if profile.mood_checkin_period == "hourly" and now.minute == 0:
|
||||
if profile.mood_checkin_frequency == "hourly" and now.minute == 0:
|
||||
MoodNtfyNotification(profile).send()
|
||||
notifications_sent += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user