This commit is contained in:
parent
3b2e1ca8d5
commit
566f03c497
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue