Ignore empty object error acks ("{}") when put()ing
This commit is contained in:
parent
1d67fb4f49
commit
92429ecb1e
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ const handleMsg = async msg => {
|
||||||
/** @type {Smith.GunMsgPut} */
|
/** @type {Smith.GunMsgPut} */
|
||||||
const reply = {
|
const reply = {
|
||||||
ack: {
|
ack: {
|
||||||
err: ack.err
|
err: typeof ack.err === 'string' ? ack.err : undefined
|
||||||
},
|
},
|
||||||
id: msg.id,
|
id: msg.id,
|
||||||
path: msg.path,
|
path: msg.path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue