Skip to content

Commit

Permalink
fix basepath issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowleyRajapakse committed Mar 18, 2024
1 parent de64c03 commit 3db33a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/config-deployer-service/ballerina/APIClient.bal
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public class APIClient {
string encodedString = "/" + data.toBase64();
if (encodedString.endsWith("==")) {
encodedString = encodedString.substring(0, encodedString.length() - 2);
} else if (encodedString.endsWith("=")) {
encodedString = encodedString.substring(0, encodedString.length() - 1);
}
APKConf apkConf = {
name: api.getName(),
Expand Down

0 comments on commit 3db33a1

Please sign in to comment.