From 85acb8ef8937579bef218e9a12580863c075b4df Mon Sep 17 00:00:00 2001 From: Elias Bouassaba Date: Tue, 9 Jul 2024 23:33:05 +0200 Subject: [PATCH] fix(webdav): misplacaed arguments --- webdav/client/api_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdav/client/api_client.go b/webdav/client/api_client.go index 1d9c5b964..493959e92 100644 --- a/webdav/client/api_client.go +++ b/webdav/client/api_client.go @@ -196,9 +196,9 @@ func (cl *APIClient) PatchFileFromS3(opts FilePatchFromS3Options) (*File, error) req, err := http.NewRequest("PATCH", fmt.Sprintf("%s/v2/files/%s/patch_from_s3?api_key=%s&access_token=%s&name=%s&s3_key=%s&s3_bucket=%s&snapshot_id=%s&content_type=%s&size=%d", cl.config.APIURL, + opts.ID, cl.config.Security.APIKey, cl.token.AccessToken, - opts.ID, opts.Name, opts.S3Reference.Key, opts.S3Reference.Bucket,