Do not unnecessarily send whole ack
This commit is contained in:
parent
773d6f5e22
commit
c055c2fc03
1 changed files with 3 additions and 1 deletions
|
|
@ -179,7 +179,9 @@ const handleMsg = msg => {
|
|||
node.put(msg.data, ack => {
|
||||
/** @type {Smith.GunMsgPut} */
|
||||
const reply = {
|
||||
ack,
|
||||
ack: {
|
||||
err: ack.err
|
||||
},
|
||||
id: msg.id,
|
||||
path: msg.path,
|
||||
type: 'put'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue