Merge pull request #29039 from edx/feanil/set_code_owner

fix: Decorate celery task to set code owner attribute.
This commit is contained in:
Feanil Patel
2021-10-15 14:29:19 -04:00
committed by GitHub

View File

@@ -44,6 +44,7 @@ def get_pwned_properties(pwned_response, password):
@shared_task
@set_code_owner_attribute
def check_pwned_password_and_send_track_event(user_id, password, internal_user=False):
"""
Check the Pwned Databases and send its event to Segment