diff options
-rw-r--r-- | bridge/helper/helper.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go index 9522823b..10c3647a 100644 --- a/bridge/helper/helper.go +++ b/bridge/helper/helper.go @@ -25,7 +25,6 @@ func DownloadFile(url string) (*[]byte, error) { defer resp.Body.Close() io.Copy(&buf, resp.Body) data := buf.Bytes() - resp.Body.Close() return &data, nil } |