Updates
This commit is contained in:
Vendored
+1
-1
@@ -27,7 +27,7 @@ localStorageCSRFKey) {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
if (csrf && csrfValue) {
|
||||
finalHeaders[`'${csrfValue.replace(/\"/g, "")}'`] = "true";
|
||||
finalHeaders[`${csrfValue.replace(/\"/g, "")}`] = "true";
|
||||
}
|
||||
if (typeof options === "string") {
|
||||
try {
|
||||
|
||||
@@ -11,8 +11,6 @@ const serverError_1 = __importDefault(require("./serverError"));
|
||||
function grabSchemaFieldsFromData({ data, fields, excludeData, excludeFields, }) {
|
||||
var _a;
|
||||
try {
|
||||
const possibleFields = require("../../data/possibleFields.json");
|
||||
const dataTypes = require("../../data/dataTypes.json");
|
||||
/** @type {DSQL_FieldSchemaType[]} */
|
||||
const finalFields = [];
|
||||
/** @type {string[]} */
|
||||
|
||||
Reference in New Issue
Block a user