Skip to content

Commit

Permalink
Fixed server error because of missing certificate logo error
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulmanann committed Oct 17, 2024
1 parent 810eb07 commit 9ada798
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions credentials/apps/credentials/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def get_context_data(self, **kwargs):
program_details = user_credential.credential.program_details
for organization in program_details.organizations:
organization_names.append(organization.display_name)
if not organization.certificate_logo_image_url:
raise MissingCertificateLogoError('No certificate image logo defined for program: [{program_uuid}]'.
format(program_uuid=program_details.uuid))
# if not organization.certificate_logo_image_url:
# raise MissingCertificateLogoError('No certificate image logo defined for program: [{program_uuid}]'.
# format(program_uuid=program_details.uuid))

org_name_string = ""
if len(organization_names) == 1:
Expand Down

0 comments on commit 9ada798

Please sign in to comment.