Skip to content

Commit

Permalink
fix: fix "others" case insensitive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tams sokari committed Oct 5, 2023
1 parent dd3c6d3 commit 5d964b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/doc-verification.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ import { version as sdkVersion } from "../../package.json";
console.error(
`SmileIdentity - ${countryCode}-${idSelectionIdType} has been deprecated`,
);
if (idSelectionIdType !== "Others") {
if (idSelectionIdType.toLowerCase() !== "others") {
constraints[countryIndex].id_types.push({
code: idSelectionIdType,
has_back: false,
Expand Down

0 comments on commit 5d964b5

Please sign in to comment.