From 102398967e7d12911efc29d117004d30057c93de Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Sat, 6 Jul 2024 18:18:38 +0530 Subject: [PATCH] fix type stuff --- src/db/adapters/DittoPostgres.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, });