refactor: borrada variable innecesaria
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b5d2d53435
commit
874f459956
|
@ -35,8 +35,7 @@ module.exports = Self => {
|
|||
const tickets = await models.Ticket.find(filter, myOptions);
|
||||
|
||||
const ticketsIds = tickets.map(ticket => ticket.id);
|
||||
const createSingleTicket = true;
|
||||
const refundedTickets = await models.Ticket.refund(ticketsIds, createSingleTicket, myOptions);
|
||||
const refundedTickets = await models.Ticket.refund(ticketsIds, true, myOptions);
|
||||
|
||||
if (tx) await tx.commit();
|
||||
|
||||
|
|
Loading…
Reference in New Issue