Skip to content

Commit a3fdc80

Browse files
SDK regenerated by CI server [ci skip]
1 parent 9b112d4 commit a3fdc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/aspose/words/cloud/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ public void setRsaKey(String modulus, String exponent) throws NoSuchAlgorithmExc
11931193
* AddParameterToQuery
11941194
*/
11951195
public void addParameterToQuery(List<Pair> queryParams, String paramName, Object paramValue) {
1196-
if (paramName.equals("password") && !paramValue.toString().isEmpty()) {
1196+
if (paramName.equals("password") && paramValue != null && !paramValue.toString().isEmpty()) {
11971197
try {
11981198
queryParams.addAll(parameterToPair("encryptedPassword", Base64.getEncoder().encode(this.key.doFinal(paramValue.toString().getBytes(StandardCharsets.UTF_8)))));
11991199
}

0 commit comments

Comments
 (0)