Skip to content

Commit

Permalink
VCI Fixed no image error
Browse files Browse the repository at this point in the history
Signed-off-by: Lalith Kota <[email protected]>
  • Loading branch information
lalithkota committed Nov 29, 2024
1 parent 73dd294 commit 8855b07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion g2p_openid_vci_programs/models/vci_issuer.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def issue_vc_Beneficiary(self, auth_claims, credential_request):
"curr_datetime": curr_datetime,
"partner": partner_dict,
"partner_address": self.get_full_address(partner.address),
"partner_face": self.get_image_base64_data_in_url(partner.image_1920.decode()),
"partner_face": self.get_image_base64_data_in_url(partner.image_1920.decode())
if partner.image_1920
else None,
"reg_ids": reg_ids_dict,
"program_membership": program_membership_dict,
"program": program_dict,
Expand Down

0 comments on commit 8855b07

Please sign in to comment.