Skip to content

Commit

Permalink
corrected typenoresponse to send no response
Browse files Browse the repository at this point in the history
  • Loading branch information
YourTechBud committed Nov 18, 2018
1 parent d5260f0 commit fbb0274
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ func (engine *Engine) callFunc(fn Func, params M, auth M, replyTo string) {
}
engine.natsClient.Publish(replyTo, b)
break
default:
engine.natsClient.Publish(replyTo, []byte("{\"ack\":true}"))
case TypeNoResponse:
}
})
}
Expand Down

0 comments on commit fbb0274

Please sign in to comment.