refactor(postgresql): rename pgClient with client

This commit is contained in:
Ali BARIN
2023-05-10 14:38:27 +02:00
parent 40be72cf65
commit f879b3c5b0
3 changed files with 7 additions and 7 deletions

View File

@@ -3,8 +3,8 @@ import logger from '../../../helpers/logger';
import getClient from '../common/postgres-client';
const verifyCredentials = async ($: IGlobalVariable) => {
const pgClient = getClient($);
const checkConnection = await pgClient.raw('SELECT 1');
const client = getClient($);
const checkConnection = await client.raw('SELECT 1');
logger.debug(checkConnection);