From f2cbf28b200a6c44b51b97c7df1645154ed3a6f2 Mon Sep 17 00:00:00 2001 From: arzumify Date: Sat, 11 Jan 2025 15:41:59 +0000 Subject: [PATCH] Forgot to pointer it --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {