From 8e5dd79e4db55157febcbf85689962dfbb28ca6a Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Sat, 20 Jul 2024 12:29:34 +0200 Subject: [PATCH] ulozto: fix upload of > 2GB files on 32 bit platforms - fixes #7960 --- backend/ulozto/api/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/ulozto/api/types.go b/backend/ulozto/api/types.go index 8266fbc2d..e45abcf82 100644 --- a/backend/ulozto/api/types.go +++ b/backend/ulozto/api/types.go @@ -163,7 +163,7 @@ type BatchUpdateFilePropertiesRequest struct { // SendFilePayloadResponse represents the JSON API object that's received // in response to uploading a file's body to the CDN URL. type SendFilePayloadResponse struct { - Size int `json:"size"` + Size int64 `json:"size"` ContentType string `json:"contentType"` Md5 string `json:"md5"` Message string `json:"message"`