diff --git a/src/db/adapters/DittoPostgres.ts b/src/db/adapters/DittoPostgres.ts index 0f8547c1..63ae0366 100644 --- a/src/db/adapters/DittoPostgres.ts +++ b/src/db/adapters/DittoPostgres.ts @@ -13,13 +13,13 @@ export class DittoPostgres { // deno-lint-ignore require-await static async getInstance(): Promise> { if (!this.postgres) { - this.postgres = postgres(Conf.databaseUrl, { max: Conf.pg.poolSize }) as any; + this.postgres = postgres(Conf.databaseUrl, { max: Conf.pg.poolSize }); } if (!this.db) { this.db = new Kysely({ dialect: new PostgresJSDialect({ - postgres: this.postgres, + postgres: this.postgres as any, }), log: KyselyLogger, });