jottacloud: pass options to rest.Opts for Put and Update

vfs-used-is-size
Tim Gallant 2020-03-21 14:54:00 -07:00 committed by Nick Craig-Wood
parent 9ea1361044
commit 011ca244b2
1 changed files with 1 additions and 0 deletions

View File

@ -1290,6 +1290,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
opts := rest.Opts{
Method: "POST",
Path: "files/v1/allocate",
Options: options,
ExtraHeaders: make(map[string]string),
}
fileDate := api.Time(src.ModTime(ctx)).APIString()