Skip to content

Commit

Permalink
fix parse of vc
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Sep 26, 2023
1 parent b2e2d98 commit ce60c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CompanyXHumanResources/DiplomaVerifyService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public DiplomaVerifyService(TrinsicService trinsicService, IConfiguration config
});

var jsonObject = JsonNode.Parse(studentProof)!;
var credentialSchemaId = jsonObject["data"]!["credentialSchema"]!["id"];
var credentialSchemaId = jsonObject["credentialSchema"]!["id"];

if(universityCredentialScheme != credentialSchemaId!.ToString())
{
Expand Down

0 comments on commit ce60c4d

Please sign in to comment.