hotFix: saveSign
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-01-25 11:37:25 +01:00
parent 381f04ac6a
commit 66936d8983
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ module.exports = Self => {
const ticket = await models.Ticket.findById(ticketId, null, myOptions);
await ticket.updateAttribute('isSigned', true, myOptions);
const deliveryState = await models.State.find({
const deliveryState = await models.State.findOne({
where: {
code: 'DELIVERED'
}