File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export const verifyCredential = async ({
68
68
const body = { verifiableCredential, options} ;
69
69
if ( verifier . settings . zcap ) {
70
70
const response = await makeZcapRequest ( verifier . settings , body ) ;
71
- return response ?. data ?. verifiableCredential ;
71
+ return response ?. data ;
72
72
} else {
73
73
const { data, result, error} = await verifier . post ( { json : body } ) ;
74
74
if ( ! result || ! result . ok ) {
@@ -88,7 +88,7 @@ export const verifyPresentation = async ({
88
88
const body = { verifiablePresentation, options} ;
89
89
if ( vpVerifier . settings . zcap ) {
90
90
const response = await makeZcapRequest ( vpVerifier . settings , body ) ;
91
- return response ?. data ?. verifiableCredential ;
91
+ return response ?. data ;
92
92
} else {
93
93
const { data, result, error} = await vpVerifier . post ( { json : body } ) ;
94
94
if ( ! result || ! result . ok ) {
You can’t perform that action at this time.
0 commit comments