update runCase at once

This commit is contained in:
Takeshi Kimata
2024-07-11 21:08:33 +09:00
parent 5581118ec9
commit 39db493e4a
5 changed files with 44 additions and 53 deletions

View File

@@ -13,10 +13,6 @@ module.exports = function (sequelize) {
const runCases = req.body;
const t = await sequelize.transaction();
console.log('############## start edit');
console.log(runCases);
console.log('############## end edit');
const createRunCase = async (runCase) => {
const newRunCase = await RunCase.create(
{
@@ -47,7 +43,7 @@ module.exports = function (sequelize) {
transaction: t,
}
);
return step;
return runCase;
};
try {