diff --git a/communicator.go b/communicator.go index 608e98c..477b1fb 100644 --- a/communicator.go +++ b/communicator.go @@ -27,7 +27,7 @@ func (c *communicator) start() { m := event.Data.(events.URLMaker) data, _ := json.Marshal(event) r, _ := http.Post(GetRootURL()+m.GetUrl(), "application/json", bytes.NewBuffer(data)) - e.Result <- events.Result{Message: r.Status} + e.Result <- events.Result{Message: r.StatusCode} }(e) } }()