Remove all 'useLocal' params
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ const serverless_mysql_1 = __importDefault(require("serverless-mysql"));
|
||||
* # Grab General CONNECTION for DSQL
|
||||
*/
|
||||
function grabDSQLConnection(param) {
|
||||
if (param === null || param === void 0 ? void 0 : param.local) {
|
||||
if (global.DSQL_USE_LOCAL || (param === null || param === void 0 ? void 0 : param.local)) {
|
||||
return (global.DSQL_DB_CONN ||
|
||||
(0, serverless_mysql_1.default)({
|
||||
config: {
|
||||
|
||||
Reference in New Issue
Block a user