fix: Add code owner to celery task. (#33238)

Ensures that the code owner attribute is set
on celery task run for entitlements.
This commit is contained in:
Diana Huang
2023-09-13 12:01:58 -04:00
committed by GitHub
parent 52c7403ba9
commit 282b934299

View File

@@ -157,6 +157,7 @@ def expire_and_create_entitlements(self, entitlement_ids, support_username):
@shared_task(bind=True)
@set_code_owner_attribute
def retry_revoke_subscriptions_verified_access(self, revocable_entitlement_uuids, entitled_course_ids, username):
"""
Task to process course access revoke and move to audit.