Updates
This commit is contained in:
+5
-5
@@ -6,7 +6,10 @@ import grabHostNames from "../package-shared/utils/grab-host-names";
|
||||
import apiLoginUser from "../package-shared/functions/api/users/api-login";
|
||||
import getAuthCookieNames from "../package-shared/functions/backend/cookies/get-auth-cookie-names";
|
||||
import { writeAuthFile } from "../package-shared/functions/backend/auth/write-auth-files";
|
||||
import { APILoginFunctionReturn } from "../package-shared/types";
|
||||
import {
|
||||
APILoginFunctionReturn,
|
||||
DSQL_DatabaseSchemaType,
|
||||
} from "../package-shared/types";
|
||||
|
||||
type Param = {
|
||||
key?: string;
|
||||
@@ -122,10 +125,7 @@ export default async function loginUser({
|
||||
DSQL_DB_NAME?.match(/./) &&
|
||||
useLocal
|
||||
) {
|
||||
/** @type {import("../package-shared/types").DSQL_DatabaseSchemaType | undefined} */
|
||||
let dbSchema:
|
||||
| import("../package-shared/types").DSQL_DatabaseSchemaType
|
||||
| undefined;
|
||||
let dbSchema: DSQL_DatabaseSchemaType | undefined;
|
||||
|
||||
try {
|
||||
const localDbSchemaPath = path.resolve(
|
||||
|
||||
Reference in New Issue
Block a user