diff --git a/print/methods/closure.js b/print/methods/closure.js index 05490609d..610dc3eec 100644 --- a/print/methods/closure.js +++ b/print/methods/closure.js @@ -23,7 +23,7 @@ module.exports = app => { for (const ticket of tickets) { try { - await db.rawSql(`CALL vn.ticketClosureTicket(:ticketId)`, { + await db.rawSql(`CALL vn.ticket_closeByTicket(:ticketId)`, { ticketId: ticket.id });