Skip to content

Commit

Permalink
fix erreur lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GaspardRivoire committed Jul 5, 2024
1 parent 7aec340 commit e821ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/archive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function listS3Folders(prefix: string): Promise<string[]> {

// Paramètres pour la requête S3
const params: AWS.S3.ListObjectsV2Request = {
Bucket: process.env.S3_BUCKET_NAME,
Bucket: process.env.S3_BUCKET_NAME || '',
Prefix: prefix,
Delimiter: '/', // Utiliser le délimiteur '/' pour obtenir uniquement les dossiers
};
Expand Down

0 comments on commit e821ad0

Please sign in to comment.