Remove all 'useLocal' params

This commit is contained in:
Benjamin Toby
2025-01-20 09:12:43 +01:00
parent 16191975f9
commit 7d0f3e12f3
113 changed files with 164 additions and 425 deletions
+1 -4
View File
@@ -30,7 +30,6 @@ type Param = {
token?: boolean;
user_id?: string | number;
skipPassword?: boolean;
useLocal?: boolean;
debug?: boolean;
skipWriteAuthFile?: boolean;
apiUserID?: string | number;
@@ -54,7 +53,6 @@ export default async function loginUser({
token,
user_id,
skipPassword,
useLocal,
apiUserID,
skipWriteAuthFile,
dbUserId,
@@ -128,7 +126,7 @@ export default async function loginUser({
DSQL_DB_USERNAME?.match(/./) &&
DSQL_DB_PASSWORD?.match(/./) &&
DSQL_DB_NAME?.match(/./) &&
useLocal
global.DSQL_USE_LOCAL
) {
let dbSchema: DSQL_DatabaseSchemaType | undefined;
@@ -152,7 +150,6 @@ export default async function loginUser({
email_login_code,
email_login_field: emailLoginTempCodeFieldName,
token,
useLocal,
dbUserId,
debug,
});