Bug Fixes

This commit is contained in:
Benjamin Toby
2024-11-05 15:18:40 +01:00
parent 3cdf78e58d
commit 748ff55092
507 changed files with 3719 additions and 1231 deletions
@@ -136,7 +136,7 @@ const fs = __webpack_require__(7147);
throw new Error("Invalid Database");
}
const targetDb = targetDBArray[0];
const userSchemaPath = path__WEBPACK_IMPORTED_MODULE_4___default().resolve(process.cwd(), `./jsonData/dbSchemas/users/user-${user.id}/main.json`);
const userSchemaPath = path__WEBPACK_IMPORTED_MODULE_4___default().resolve(process.cwd(), `${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${user.id}/main.json`);
/** @type {import("@/package-shared/types").DSQL_DatabaseSchemaType[]} */ const userSchema = JSON.parse(fs.readFileSync(userSchemaPath, "utf-8"));
const targetDatabase = userSchema.find((db)=>db.dbFullName == targetDb.db_full_name);
if (!targetDatabase) {
@@ -198,7 +198,7 @@ const fs = __webpack_require__(7147);
var __webpack_require__ = require("../../../webpack-api-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [5425,2224,2163,6825], () => (__webpack_exec__(3802)));
var __webpack_exports__ = __webpack_require__.X(0, [2224,2163,6825], () => (__webpack_exec__(3802)));
module.exports = __webpack_exports__;
})();
File diff suppressed because one or more lines are too long