mirror of
https://github.com/rclone/rclone.git
synced 2025-06-20 19:57:51 +02:00
Revert "sharefile: fix backend due to API swapping integers for strings"
The API seems to have reverted to what it was before This reverts commit 095c7bd801a8ef01bb4a9c792340fa3c0a302fe8.
This commit is contained in:
parent
f43a9ac17e
commit
dfeae0e70a
@ -106,7 +106,7 @@ type UploadSpecification struct {
|
|||||||
type UploadFinishResponse struct {
|
type UploadFinishResponse struct {
|
||||||
Error bool `json:"error"`
|
Error bool `json:"error"`
|
||||||
ErrorMessage string `json:"errorMessage"`
|
ErrorMessage string `json:"errorMessage"`
|
||||||
ErrorCode int `json:"errorCode,string"`
|
ErrorCode int `json:"errorCode"`
|
||||||
Value []struct {
|
Value []struct {
|
||||||
UploadID string `json:"uploadid"`
|
UploadID string `json:"uploadid"`
|
||||||
ParentID string `json:"parentid"`
|
ParentID string `json:"parentid"`
|
||||||
@ -114,7 +114,7 @@ type UploadFinishResponse struct {
|
|||||||
StreamID string `json:"streamid"`
|
StreamID string `json:"streamid"`
|
||||||
FileName string `json:"filename"`
|
FileName string `json:"filename"`
|
||||||
DisplayName string `json:"displayname"`
|
DisplayName string `json:"displayname"`
|
||||||
Size int `json:"size,string"`
|
Size int `json:"size"`
|
||||||
Md5 string `json:"md5"`
|
Md5 string `json:"md5"`
|
||||||
} `json:"value"`
|
} `json:"value"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user