feat: add management command to send email reminders for unread notifications
This commit is contained in:
parent
0bdf44c90c
commit
387f1ae9d6
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class Command(BaseCommand):
|
|||
|
||||
def handle(self, *args, **options):
|
||||
target_username = options.get('user')
|
||||
dry_run = options.get('dry-run', False)
|
||||
dry_run = options.get('dry_run', False) or options.get('dry-run', False)
|
||||
|
||||
now = timezone.now()
|
||||
configs = UserConfig.objects.filter(
|
||||
|
|
|
|||
Loading…
Reference in a new issue