This commit is contained in:
Daniel Flanagan 2022-10-07 23:30:44 -05:00
parent 1ec2181c2c
commit cb69234651
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -18,7 +18,7 @@ const pool = new Pool(config.postgres.url, 3, true);
export async function queryObject<T>( export async function queryObject<T>(
sql: string, sql: string,
args: QueryArguments[], args?: QueryArguments,
): Promise<QueryObjectResult<T> | null> { ): Promise<QueryObjectResult<T> | null> {
let result = null; let result = null;
try { try {