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 }); //Валидируем полученный ответ