jottacloud: pass options to rest.Opts for Put and Update
This commit is contained in:
parent
9ea1361044
commit
011ca244b2
1 changed files with 1 additions and 0 deletions
|
@ -1290,6 +1290,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||||
opts := rest.Opts{
|
opts := rest.Opts{
|
||||||
Method: "POST",
|
Method: "POST",
|
||||||
Path: "files/v1/allocate",
|
Path: "files/v1/allocate",
|
||||||
|
Options: options,
|
||||||
ExtraHeaders: make(map[string]string),
|
ExtraHeaders: make(map[string]string),
|
||||||
}
|
}
|
||||||
fileDate := api.Time(src.ModTime(ctx)).APIString()
|
fileDate := api.Time(src.ModTime(ctx)).APIString()
|
||||||
|
|
Loading…
Reference in a new issue