From 01058017104ef00ee8bbf73aac77f66872abaa06 Mon Sep 17 00:00:00 2001 From: jackdaw Date: Mon, 28 Nov 2016 15:03:56 +0900 Subject: [PATCH] . --- communicator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }()