fixup handler tests

This commit is contained in:
Asim Aslam
2020-04-12 14:29:38 +01:00
parent d03a02f2e4
commit b08c636b44
5 changed files with 28 additions and 53 deletions

View File

@@ -118,7 +118,7 @@ func (e *event) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// get client
c := e.opts.Service.Client()
c := e.opts.Client
// create publication
p := c.NewMessage(topic, ev)