Skip to content

Commit a0220c7

Browse files
committed
Fix typo
1 parent 00a71b4 commit a0220c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/descope/client/DescopeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static Client getClient(Config config) {
6161
final SdkInfo sdkInfo = getSdkInfo();
6262
final String projectId = config.getProjectId();
6363
if (projectId.length() < 28) {
64-
throw ClientSetupException.invliadProjectId();
64+
throw ClientSetupException.invalidProjectId();
6565
}
6666
final String region = projectId.substring(1, projectId.length() - 27);
6767
final String baseUrl = DEFAULT_BASE_URL.replace(REGION_PLACEHOLDER, region.length() > 0 ? region + "." : "");

src/main/java/com/descope/exception/ClientSetupException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static ClientSetupException missingProjectId() {
1515
return new ClientSetupException(message, MISSING_PROJECT_ID);
1616
}
1717

18-
public static ClientSetupException invliadProjectId() {
18+
public static ClientSetupException invalidProjectId() {
1919
String message = "Invalid project ID - must be over 27 characters long";
2020
return new ClientSetupException(message, INVALID_PROJECT_ID);
2121
}

0 commit comments

Comments
 (0)