Fix defaultConfig call

This commit is contained in:
Ross Savage
2023-09-04 23:12:33 +02:00
parent 052b511dc5
commit dd2d920b15

View File

@@ -145,7 +145,7 @@ const nodeConfig : NodeConfig = {
inviteCode: "your invite code"
}
}
let config = defaultConfig(EnvironmentType.PRODUCTION, "api key", nodeConfig);
let config = await defaultConfig(EnvironmentType.PRODUCTION, "api key", nodeConfig);
// Customize the config object according to your needs
config.workingDir = "path to an existing directory";