From 8592204fb300091e7c3a79a96cc02497f26c87cc Mon Sep 17 00:00:00 2001 From: Mikhail Chechnev Date: Wed, 5 Dec 2018 22:28:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20null=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=D1=87=D0=B5=20BLOB=20=D0=BD=D0=B0=20=D0=A1?= =?UTF-8?q?=D0=B5=D1=80=D0=B2=D0=B5=D1=80=20=D0=91=D0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/db_connector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/db_connector.js b/core/db_connector.js index 5005860..bf88ba3 100644 --- a/core/db_connector.js +++ b/core/db_connector.js @@ -373,12 +373,12 @@ class DBConnector extends EventEmitter { try { let res = await this.connector.setQueueMsg({ nQueueId: prms.nQueueId, - blMsg: prms.blMsg, + blMsg: prms.blMsg ? prms.blMsg : new Buffer(""), connection: this.connection }); res = await this.connector.setQueueResp({ nQueueId: prms.nQueueId, - blResp: prms.blResp, + blResp: prms.blResp ? prms.blResp : new Buffer(""), connection: this.connection }); //Валидируем полученный ответ