Skip to content

Commit 618ec74

Browse files
committed
debug
1 parent f9faa3d commit 618ec74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/vp/response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
4141
// objectPath.set(payload, 'state', req.body.state);
4242
// console.log(payload);
4343
try {
44-
const verifiedAuthResponse = await rp(doc.vc_type, doc.vc_id).verifyAuthorizationResponse(req.body.vp_token, {
44+
const verifiedAuthResponse = await rp(doc.vc_type, doc.vc_id).verifyAuthorizationResponse(req.body, {
4545
correlationId: doc._id,
4646
// state: doc.vp_state,
4747
nonce: doc.vp_nonce,

0 commit comments

Comments
 (0)