Updated back unit tests
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2022-10-04 09:46:44 +02:00
parent 1598b6c703
commit eadff3fff9
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
}, },
"properties": { "properties": {
"params": { "params": {
"type": "json" "type": "string"
}, },
"queued": { "queued": {
"type": "date" "type": "date"

View File

@ -138,7 +138,7 @@ module.exports = Self => {
if (newInvoice.id) { if (newInvoice.id) {
await Self.rawSql('CALL invoiceOutBooking(?)', [newInvoice.id], myOptions); await Self.rawSql('CALL invoiceOutBooking(?)', [newInvoice.id], myOptions);
query = `INSERT IGNORE INTO invoiceOut_queue(invoiceFk) VALUES(?)`; query = `INSERT IGNORE INTO invoiceOutQueue(invoiceFk) VALUES(?)`;
await Self.rawSql(query, [newInvoice.id], myOptions); await Self.rawSql(query, [newInvoice.id], myOptions);
invoicesIds.push(newInvoice.id); invoicesIds.push(newInvoice.id);