remove body close

This commit is contained in:
celogeek 2022-05-08 17:04:08 +02:00
parent 9020415e74
commit 46e0ad988b
Signed by: celogeek
GPG Key ID: E6B7BDCFC446233A

View File

@ -156,7 +156,6 @@ func (s *Service) FileCreateChunk(c *gin.Context) {
b := bytes.NewBuffer([]byte{})
io.Copy(b, c.Request.Body)
c.Request.Body.Close()
sess := s.CurrentSession(c)