Commit 5b9ae544 authored by astaxie's avatar astaxie

update input

parent 41dd6e58
......@@ -151,5 +151,6 @@ func (input *BeegoInput) Body() []byte {
input.req.Body.Close()
bf := bytes.NewBuffer(requestbody)
input.req.Body = ioutil.NopCloser(bf)
input.RequestBody = requestbody
return requestbody
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment