Skip to content

Commit

Permalink
removing configuration that interferes with signals
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Sep 3, 2024
1 parent affa37f commit 7675c44
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions courses/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
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 @@ -12,7 +11,6 @@
CourseRunCertificate,
Program,
)
from hubspot_sync.task_helpers import sync_hubspot_user


@receiver(
Expand Down Expand Up @@ -41,5 +39,3 @@ 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 7675c44

Please sign in to comment.