diff --git a/apps/notification/management/commands/sendgrid_update_recipients.py b/apps/notification/management/commands/sendgrid_update_recipients.py new file mode 100644 index 00000000..7a23aae9 --- /dev/null +++ b/apps/notification/management/commands/sendgrid_update_recipients.py @@ -0,0 +1,11 @@ +from django.core.management.base import BaseCommand + +from apps.notification.tasks import sendgrid_update_recipients + + +class Command(BaseCommand): + help = 'Update recipients in sendgrid base' + + def handle(self, *args, **options): + sendgrid_update_recipients() +