This commit is contained in:
jackdaw 2016-11-28 15:03:56 +09:00
parent 712ebc4587
commit 0105801710

View File

@ -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)
}
}()