Skip to content

Commit

Permalink
fix(app): remove delimiter (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian authored Jul 26, 2024
1 parent 3adbcd2 commit b8a2691
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/backend/src/getKeysFromS3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { S3Client } from './s3Client';
export const getKeysFromS3 = async (hash: string, bucket: string) => {
const response = await S3Client.listObjectsV2({
Bucket: bucket,
Prefix: `${NEW_IMAGES_DIRECTORY}/${hash}/`,
Delimiter: '/'
Prefix: `${NEW_IMAGES_DIRECTORY}/${hash}/`
});

return (
Expand Down

0 comments on commit b8a2691

Please sign in to comment.