remove comments
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2022-11-04 08:12:46 +01:00
parent 11cf1ba414
commit 37292cee89
1 changed files with 0 additions and 4 deletions

View File

@ -51,12 +51,8 @@ module.exports = Self => {
const item = await models.Item.create(params, myOptions);
// set the item.isLaid to be the same as itemType.isLaid (itemType comes from item.typeFk)
const itemType = await models.ItemType.findById(item.typeFk, myOptions);
// Update the item with the new isLaid value
item.isLaid = itemType.isLaid;
await item.save(myOptions);