Updates
This commit is contained in:
@@ -23,7 +23,7 @@ export default async function varDatabaseDbHandler({
|
||||
useLocal,
|
||||
debug,
|
||||
}: Param): Promise<any> {
|
||||
let CONNECTION = grabDSQLConnection({ fa: true });
|
||||
let CONNECTION = grabDSQLConnection({ fa: true, local: useLocal });
|
||||
if (useLocal) CONNECTION = grabDSQLConnection({ local: true });
|
||||
if (database?.match(/^datasquirel$/)) CONNECTION = grabDSQLConnection();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user