mirror of
https://github.com/rclone/rclone.git
synced 2025-12-23 03:33:28 +00:00
mega: fix unmarshal error on download - FIXME need to upstream this fix
Failed to copy: failed to open source object: open download file
failed: json: cannot unmarshal number -18 into Go struct field
DownloadResp.e of type uint32
See: https://forum.rclone.org/t/failed-message-what-does-it-mean/9065
This commit is contained in:
8
vendor/github.com/t3rm1n4l/go-mega/messages.go
generated
vendored
8
vendor/github.com/t3rm1n4l/go-mega/messages.go
generated
vendored
@@ -120,10 +120,10 @@ type DownloadMsg struct {
|
||||
}
|
||||
|
||||
type DownloadResp struct {
|
||||
G string `json:"g"`
|
||||
Size uint64 `json:"s"`
|
||||
Attr string `json:"at"`
|
||||
Err uint32 `json:"e"`
|
||||
G string `json:"g"`
|
||||
Size uint64 `json:"s"`
|
||||
Attr string `json:"at"`
|
||||
Err ErrorMsg `json:"e"`
|
||||
}
|
||||
|
||||
type UploadMsg struct {
|
||||
|
||||
Reference in New Issue
Block a user