From 282b934299855187167b1383735fc8422dbaaa6a Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Wed, 13 Sep 2023 12:01:58 -0400 Subject: [PATCH] fix: Add code owner to celery task. (#33238) Ensures that the code owner attribute is set on celery task run for entitlements. --- common/djangoapps/entitlements/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/djangoapps/entitlements/tasks.py b/common/djangoapps/entitlements/tasks.py index 0dd8d363dd..981879e217 100644 --- a/common/djangoapps/entitlements/tasks.py +++ b/common/djangoapps/entitlements/tasks.py @@ -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.