diff --git a/main.go b/main.go index a4aa2ee..c0e90af 100644 --- a/main.go +++ b/main.go @@ -22,9 +22,9 @@ type OAuthResponse struct { } type File struct { - Name string `validate:"required"` - User uuid.UUID `validate:"required"` - Reader io.LimitedReader // Only used for write operations + Name string `validate:"required"` + User uuid.UUID `validate:"required"` + Reader *io.LimitedReader // Only used for write operations } type Quota struct {