From 011ca244b23bcd9de945a49e9513983d4cf84d4e Mon Sep 17 00:00:00 2001 From: Tim Gallant Date: Sat, 21 Mar 2020 14:54:00 -0700 Subject: [PATCH] jottacloud: pass options to rest.Opts for Put and Update --- backend/jottacloud/jottacloud.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go index 5422766ca..f8ecad41e 100644 --- a/backend/jottacloud/jottacloud.go +++ b/backend/jottacloud/jottacloud.go @@ -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()