4616-ticket.sale_mana #1088

Merged
vicent merged 14 commits from 4616-ticket.sale_mana into dev 2022-11-02 13:48:21 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 787d10aac6 - Show all commits

View File

@ -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},