From a76b1b6c216163b46652dc67d2087ba35a9a32a7 Mon Sep 17 00:00:00 2001 From: pvsaidurga <132046494+pvsaidurga@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:51:10 +0530 Subject: [PATCH] [ES-311] (#1244) Signed-off-by: Venkata Saidurga Polamraju --- .../esignet/integration/service/IdaVCIssuancePluginImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java b/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java index e9b3e7d51d9..36958402e3e 100644 --- a/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java +++ b/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java @@ -199,7 +199,7 @@ private byte[] b64Decode(String value) { //Converts an array of two-letter language codes to their corresponding ISO 639-2/T language codes. private List convertLangCodesToISO3LanguageCodes(String[] langCodes) { - if(langCodes == null || langCodes.length == 0) + if(langCodes == null || langCodes.length == 0 || (langCodes.length == 1 && langCodes[0].isEmpty())) return List.of("eng"); return Arrays.stream(langCodes) .map(langCode -> {