Skip to content

Commit

Permalink
Ignore revoked program certificates for now (#2412)
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav authored Sep 30, 2024
1 parent 98c4a51 commit 636ca95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courses/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def generate_program_certificate(user, program, force_create=False): # noqa: FB
"""
from hubspot_sync.task_helpers import sync_hubspot_user

existing_cert_queryset = ProgramCertificate.objects.filter(
existing_cert_queryset = ProgramCertificate.all_objects.filter(
user=user, program=program
)
if existing_cert_queryset.exists():
Expand Down

0 comments on commit 636ca95

Please sign in to comment.