Skip to content

Commit f70d3c7

Browse files
committed
[PNV] list response based on the latest oid4vp
1 parent 34b266e commit f70d3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/credman/cmwallet/pnv/PnvTokenRegistry.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ fun maybeHandlePnv(
387387
val tempTokenDcSdJwt = "${deviceTelModuleJwt}~${kbJwt}"
388388

389389
val vpToken = JSONObject().apply {
390-
put(dcqlCredId, tempTokenDcSdJwt)
390+
put(dcqlCredId, JSONArray().put(tempTokenDcSdJwt))
391391
}
392392
val response = openId4VPRequest.generateResponse(vpToken)
393393
Log.d(PNV_TAG, "Returning $response")

0 commit comments

Comments
 (0)