Skip to content

Commit

Permalink
fix(webdav): misplacaed arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Jul 9, 2024
1 parent 91194a1 commit 85acb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webdav/client/api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85acb8e

Please sign in to comment.