summaryrefslogtreecommitdiff
path: root/internal/api/model/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/content.go')
-rw-r--r--internal/api/model/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/model/content.go b/internal/api/model/content.go
index aa02a99c3..ecce07356 100644
--- a/internal/api/model/content.go
+++ b/internal/api/model/content.go
@@ -30,7 +30,7 @@ type Content struct {
// ContentLength in bytes
ContentLength int64
// Actual content
- Content io.Reader
+ Content io.ReadCloser
// Resource URL to forward to if the file can be fetched from the storage directly (e.g signed S3 URL)
URL *url.URL
}