summaryrefslogtreecommitdiff
path: root/packages/core/src/config/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/config/config.ts')
-rw-r--r--packages/core/src/config/config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts
index 268871ca..59f1e1ba 100644
--- a/packages/core/src/config/config.ts
+++ b/packages/core/src/config/config.ts
@@ -274,8 +274,8 @@ export class Config {
}
async refreshAuth(authMethod: AuthType) {
- this.contentGeneratorConfig = await createContentGeneratorConfig(
- this.model,
+ this.contentGeneratorConfig = createContentGeneratorConfig(
+ this,
authMethod,
);