FIX s3_helper.list for buckets with folders
s3_bucket_folder_path does not contain a trailing slash so it was smashingstufftogether
This commit is contained in:
parent
ad9e0d6bea
commit
ff15d95983
|
@ -131,7 +131,7 @@ class S3Helper
|
|||
end
|
||||
|
||||
def list(prefix = "")
|
||||
s3_bucket.objects(prefix: @s3_bucket_folder_path.to_s + prefix)
|
||||
s3_bucket.objects(prefix: "#{@s3_bucket_folder_path}/#{prefix}")
|
||||
end
|
||||
|
||||
def tag_file(key, tags)
|
||||
|
|
Loading…
Reference in New Issue