diff --git a/bots/src/worker/batchSubmitter/db.ts b/bots/src/worker/batchSubmitter/db.ts index d22f989f..d4f5f821 100644 --- a/bots/src/worker/batchSubmitter/db.ts +++ b/bots/src/worker/batchSubmitter/db.ts @@ -31,7 +31,7 @@ function initConnection(options: DataSourceOptions): Promise { return new DataSource({ ...options, ...staticOptions, - namingStrategy: new CamelToSnakeNamingStrategy() as any + namingStrategy: new CamelToSnakeNamingStrategy() }).initialize(); } diff --git a/bots/src/worker/bridgeExecutor/db.ts b/bots/src/worker/bridgeExecutor/db.ts index a10a838e..3304501b 100644 --- a/bots/src/worker/bridgeExecutor/db.ts +++ b/bots/src/worker/bridgeExecutor/db.ts @@ -45,7 +45,7 @@ function initConnection(options: DataSourceOptions): Promise { return new DataSource({ ...options, ...staticOptions, - namingStrategy: new CamelToSnakeNamingStrategy() as any + namingStrategy: new CamelToSnakeNamingStrategy() }).initialize(); }