diff --git a/internal/photos/api/file.go b/internal/photos/api/file.go index c7fa392..def5110 100644 --- a/internal/photos/api/file.go +++ b/internal/photos/api/file.go @@ -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)