Updates
This commit is contained in:
+1
-1
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user