Skip to content

Commit 1b7f82b

Browse files
committed
Fixed config creation.
1 parent 19e483e commit 1b7f82b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

complete/src/main/java/com/corbado/springboot/FrontendController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public FrontendController(
3939
@Value("${projectID}") final String projectID, @Value("${apiSecret}") final String apiSecret)
4040
throws StandardException {
4141
// Or use Config builder
42-
final Config config = new Config(projectID, apiSecret);
42+
final Config config = Config.builder().projectId(projectID).apiSecret(apiSecret).build();
4343
this.sdk = new CorbadoSdk(config);
4444
}
4545

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
projectID=pro-7340214860069632857
2-
apiSecret=corbado1_wNHmNaKhynP3UCmVmLSS8GowzS2FGY
1+
projectID=pro-xxx
2+
apiSecret=corbado1_xxx

0 commit comments

Comments
 (0)