Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Sep 10, 2024
1 parent ad0707f commit 71b1a23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions courses/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Signals for mitxonline course certificates
"""

from django.core.management import call_command
from django.db import transaction
from django.db.models.signals import post_save
from django.dispatch import receiver
Expand All @@ -11,6 +12,7 @@
CourseRunCertificate,
Program,
)
from hubspot_sync.task_helpers import sync_hubspot_user


@receiver(
Expand Down Expand Up @@ -39,3 +41,5 @@ def handle_create_course_run_certificate(
transaction.on_commit(
lambda: generate_multiple_programs_certificate(user, programs)
)
call_command("configure_hubspot_properties")
sync_hubspot_user(instance.user)

0 comments on commit 71b1a23

Please sign in to comment.