diff --git a/modules/ticket/back/methods/sale/refund.js b/modules/ticket/back/methods/sale/refund.js index 83a420a8e..8cdb28b24 100644 --- a/modules/ticket/back/methods/sale/refund.js +++ b/modules/ticket/back/methods/sale/refund.js @@ -56,7 +56,7 @@ module.exports = Self => { salesIds.push(null); const servicesIds = []; - if (services) { + if (services.length) { for (let service of services) servicesIds.push(service.id); } else