diff --git a/db/mod.ts b/db/mod.ts index 624816f..7c4bfeb 100644 --- a/db/mod.ts +++ b/db/mod.ts @@ -18,7 +18,7 @@ const pool = new Pool(config.postgres.url, 3, true); export async function queryObject( sql: string, - args: QueryArguments[], + args?: QueryArguments, ): Promise | null> { let result = null; try {