Skip to content

Commit

Permalink
SDK-2422 resolved selfie image problem
Browse files Browse the repository at this point in the history
  • Loading branch information
msepici committed Feb 26, 2024
1 parent 2839077 commit 709b992
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _examples/digitalidentity/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ func receipt(w http.ResponseWriter, r *http.Request) {
userProfile := receiptValue.UserContent.UserProfile

selfie := userProfile.Selfie()

var base64URL string
if selfie != nil {
base64URL = selfie.Value().Base64URL()

decodedImage := decodeImage(selfie.Value().Data())
file := createImage()
saveImage(decodedImage, file)
}

dob, err := userProfile.DateOfBirth()
Expand Down

0 comments on commit 709b992

Please sign in to comment.