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

This commit is contained in:
Tim Gallant 2020-03-21 14:54:00 -07:00 committed by Nick Craig-Wood
parent 9ea1361044
commit 011ca244b2

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()