Merge pull request #981 from GibbsConsulting/master

Update task registration in line with Celery changes
This commit is contained in:
Garret Wassermann 2021-11-17 12:14:56 -05:00 committed by GitHub
commit 73787bd245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
from celery.decorators import task
from celery import shared_task
from .email import process_email
@task()
@shared_task
def helpdesk_process_email():
process_email()