lib/tori/backend/s3.rb in tori-0.7.0 vs lib/tori/backend/s3.rb in tori-0.7.1

- old
+ new

@@ -126,10 +126,10 @@ end def copy_to(filename, tori_file, **opts) copy_object( copy_source: "#{bucket}/#{filename}", - bucket: backend.bucket, + bucket: bucket, key: tori_file.name, **opts, ) end