File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/descope Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ private static Client getClient(Config config) {
61
61
final SdkInfo sdkInfo = getSdkInfo ();
62
62
final String projectId = config .getProjectId ();
63
63
if (projectId .length () < 28 ) {
64
- throw ClientSetupException .invliadProjectId ();
64
+ throw ClientSetupException .invalidProjectId ();
65
65
}
66
66
final String region = projectId .substring (1 , projectId .length () - 27 );
67
67
final String baseUrl = DEFAULT_BASE_URL .replace (REGION_PLACEHOLDER , region .length () > 0 ? region + "." : "" );
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public static ClientSetupException missingProjectId() {
15
15
return new ClientSetupException (message , MISSING_PROJECT_ID );
16
16
}
17
17
18
- public static ClientSetupException invliadProjectId () {
18
+ public static ClientSetupException invalidProjectId () {
19
19
String message = "Invalid project ID - must be over 27 characters long" ;
20
20
return new ClientSetupException (message , INVALID_PROJECT_ID );
21
21
}
You can’t perform that action at this time.
0 commit comments