Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Revert "sharefile: fix backend due to API swapping integers for strings"

Nick Craig-Wooddfeae0e70a5a
diff --git a/backend/sharefile/api/types.go b/backend/sharefile/api/types.go
index 77ed27c4c..655681351 100644
--- a/backend/sharefile/api/types.go
+++ b/backend/sharefile/api/types.go
@@ -106,7 +106,7 @@ type UploadSpecification struct {
type UploadFinishResponse struct {
Error bool `json:"error"`
ErrorMessage string `json:"errorMessage"`
- ErrorCode int `json:"errorCode,string"`
+ ErrorCode int `json:"errorCode"`
Value []struct {
UploadID string `json:"uploadid"`
ParentID string `json:"parentid"`
@@ -114,7 +114,7 @@ type UploadFinishResponse struct {
StreamID string `json:"streamid"`
FileName string `json:"filename"`
DisplayName string `json:"displayname"`
- Size int `json:"size,string"`
+ Size int `json:"size"`
Md5 string `json:"md5"`
} `json:"value"`
}