From 9147e194220743a6703abb7ff3cd9388bbf5acc5 Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Sun, 28 Jul 2024 22:11:37 +0530 Subject: [PATCH] fix: schema url in qrcodes Signed-off-by: Sai Ranjit Tummalapalli --- app/screens/CredentialDetailsW3C.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/screens/CredentialDetailsW3C.tsx b/app/screens/CredentialDetailsW3C.tsx index a19efce7..b91310ef 100644 --- a/app/screens/CredentialDetailsW3C.tsx +++ b/app/screens/CredentialDetailsW3C.tsx @@ -334,7 +334,7 @@ const CredentialDetailsW3C: React.FC = ({ navigation, ro const dataToEncrypt = JSON.stringify({ email: certificateAttributes['email'] ?? 'email', - schemaUrl: w3cCredential?.credential.type[1], + schemaUrl: w3cCredential?.credential.contexts[1], }) // eslint-disable-next-line import/namespace