Skip to content

Commit

Permalink
Merge pull request #36 from Sphereon-Opensource/fix/SDK-31
Browse files Browse the repository at this point in the history
fix/SDK-31
  • Loading branch information
BtencateSphereon authored Oct 4, 2024
2 parents f025828 + 7f7c418 commit ee492e2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {AddContactArgs} from "@sphereon/ssi-sdk.contact-manager";
import {IdentityOrigin} from "@sphereon/ssi-sdk.data-store/dist/types/contact/contact";
import {addContact} from "@/src/services/contactService";
import {registerDidEbsiOnLedger} from "@/src/services/ebsiService";
import {IVerifiableCredential} from "@sphereon/ssi-types/src/types";

type Props = {
credentialRole: CredentialRole
Expand Down Expand Up @@ -96,7 +95,7 @@ const CredentialsList: FC<Props> = (props: Props): ReactElement => {
const issuerPartyIdentity =
credential.issuerCorrelationId !== undefined ? getMatchingIdentity(partyData.data, credential.issuerCorrelationId) : undefined
const subjectPartyIdentity =
(credential.subjectCorrelationId !== undefined && credential.subjectCorrelationId !== null) ? getMatchingIdentity(partyData.data, credential.subjectCorrelationId) : undefined // FIXME null check https://sphereon.atlassian.net/browse/SDK-31
credential.subjectCorrelationId !== undefined ? getMatchingIdentity(partyData.data, credential.subjectCorrelationId) : undefined
const originalVerifiableCredential = JSON.parse(credential.uniformDocument ?? credential.rawDocument) as OriginalVerifiableCredential

const credentialSummary = await toCredentialSummary({
Expand Down

0 comments on commit ee492e2

Please sign in to comment.