From eadff3fff93acf8268d09194f5a9904726dae7c7 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 4 Oct 2022 09:46:44 +0200 Subject: [PATCH] Updated back unit tests --- modules/client/back/models/client-consumption-queue.json | 2 +- modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/client/back/models/client-consumption-queue.json b/modules/client/back/models/client-consumption-queue.json index 328af00c5..e423f218c 100644 --- a/modules/client/back/models/client-consumption-queue.json +++ b/modules/client/back/models/client-consumption-queue.json @@ -8,7 +8,7 @@ }, "properties": { "params": { - "type": "json" + "type": "string" }, "queued": { "type": "date" diff --git a/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js b/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js index 7f2cbb442..2aa277b6f 100644 --- a/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js +++ b/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js @@ -138,7 +138,7 @@ module.exports = Self => { if (newInvoice.id) { 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); invoicesIds.push(newInvoice.id);