diff --git a/api/storage/file.go b/api/storage/file.go index 9c22661..1d94c61 100644 --- a/api/storage/file.go +++ b/api/storage/file.go @@ -104,10 +104,6 @@ func (p PresignUrlOptions) isValid() error { return fmt.Errorf("invalid mode: %d", p.Mode) } - if p.Expiry > 604800 { - return fmt.Errorf("invalid expiry, cannot exceed 7 days: %d", p.Expiry) - } - return nil }