Commit 9453b547 by Seefs Committed by GitHub

Merge pull request #2693 from daggeryu/main

fix request pass-through aws channels can't test
parents ceca9cf9 ca56618d
......@@ -332,7 +332,7 @@ func testChannel(channel *model.Channel, testModel string, endpointType string)
}
requestBody := bytes.NewBuffer(jsonData)
c.Request.Body = io.NopCloser(requestBody)
c.Request.Body = io.NopCloser(bytes.NewBuffer(jsonData))
resp, err := adaptor.DoRequest(c, info, requestBody)
if err != nil {
return testResult{
......
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 sign in to comment