refs #5328 commit prueba
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-03 13:03:14 +02:00
parent 3b2e1ca8d5
commit 566f03c497
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ module.exports = Self => {
}
};
async function createTicketRefund(ticketId, now, refundAgencyMode, refoundZoneId, myOptions, vTicketId) {
async function createTicketRefund(ticketId, now, refundAgencyMode, refoundZoneId, myOptions) {
const models = Self.app.models;
const filter = {include: {relation: 'address'}};
@ -133,7 +133,7 @@ module.exports = Self => {
await models.TicketRefund.create({
refundTicketFk: refundTicket.id,
originalTicketFk: ticket.id,
}, myOptions, [result]);
}, myOptions);
return refundTicket;
}