Skip to content

Commit 7a4a25d

Browse files
committed
[FIX] Made "details" optional in IdentityProfileRequirementsNotMetDetailResponse
1 parent 54c6bf1 commit 7a4a25d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/idv_service/session/retrieve/identity_profile/identity.profile.requirements.not.met.detail.response.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class IdentityProfileRequirementsNotMetDetailResponse {
2020
/** @private {string|undefined} */
2121
this.auditId = requirementsNotMetDetail.audit_id;
2222

23-
Validation.isString(requirementsNotMetDetail.details, 'details');
24-
/** @private {string} */
23+
Validation.isString(requirementsNotMetDetail.details, 'details', true);
24+
/** @private {string|undefined} */
2525
this.details = requirementsNotMetDetail.details;
2626
}
2727

types/src/idv_service/session/retrieve/identity_profile/identity.profile.requirements.not.met.detail.response.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ declare class IdentityProfileRequirementsNotMetDetailResponse {
99
private documentCountryIsoCode;
1010
/** @private {string|undefined} */
1111
private auditId;
12-
/** @private {string} */
12+
/** @private {string|undefined} */
1313
private details;
1414
/**
1515
* @returns {string}

0 commit comments

Comments
 (0)