fix: select one result only
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
cdce628038
commit
787d10aac6
|
@ -124,7 +124,7 @@ module.exports = Self => {
|
|||
where: {code: 'manaClaim'}
|
||||
}, myOptions);
|
||||
|
||||
const oldComponent = await models.SaleComponent.find({
|
||||
const [oldComponent] = await models.SaleComponent.find({
|
||||
where: {
|
||||
and: [
|
||||
{saleFk: sale.id},
|
||||
|
|
Loading…
Reference in New Issue