forked from CITKParus/P8-ExchangeService
Обработка null при передаче BLOB на Сервер БД
This commit is contained in:
parent
5b35c48e0a
commit
8592204fb3
@ -373,12 +373,12 @@ class DBConnector extends EventEmitter {
|
|||||||
try {
|
try {
|
||||||
let res = await this.connector.setQueueMsg({
|
let res = await this.connector.setQueueMsg({
|
||||||
nQueueId: prms.nQueueId,
|
nQueueId: prms.nQueueId,
|
||||||
blMsg: prms.blMsg,
|
blMsg: prms.blMsg ? prms.blMsg : new Buffer(""),
|
||||||
connection: this.connection
|
connection: this.connection
|
||||||
});
|
});
|
||||||
res = await this.connector.setQueueResp({
|
res = await this.connector.setQueueResp({
|
||||||
nQueueId: prms.nQueueId,
|
nQueueId: prms.nQueueId,
|
||||||
blResp: prms.blResp,
|
blResp: prms.blResp ? prms.blResp : new Buffer(""),
|
||||||
connection: this.connection
|
connection: this.connection
|
||||||
});
|
});
|
||||||
//Валидируем полученный ответ
|
//Валидируем полученный ответ
|
||||||
|
Loading…
x
Reference in New Issue
Block a user