This commit is contained in:
2025-12-30 18:00:20 +01:00
parent 637ca6ea54
commit 276a0db83b
8 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ exports.default = default_1;
const crud_1 = __importDefault(require("../../utils/data-fetching/crud"));
function default_1(_a) {
return __awaiter(this, arguments, void 0, function* ({ table, body }) {
const POST_RESULT = yield (0, crud_1.default)(Object.assign(Object.assign({}, body === null || body === void 0 ? void 0 : body.crudParams), { action: "insert", table, data: body === null || body === void 0 ? void 0 : body.data }));
const POST_RESULT = yield (0, crud_1.default)(Object.assign(Object.assign({}, body === null || body === void 0 ? void 0 : body.crudParams), { action: "insert", table, data: body === null || body === void 0 ? void 0 : body.data, batchData: body === null || body === void 0 ? void 0 : body.batchData }));
return POST_RESULT;
});
}