diff --git a/lib/envelopes.js b/lib/envelopes.js index 1453c51..843f553 100644 --- a/lib/envelopes.js +++ b/lib/envelopes.js @@ -24,7 +24,7 @@ export async function parseEnvelope({ } // parse data - const data = dataURL.slice(commaIndex); + const data = dataURL.slice(commaIndex + 1); try { // VC-JWT