ref: Rename folder to dir for consistency

This commit is contained in:
Maksim Eltyshev
2024-11-12 17:07:04 +01:00
parent 0ae8b27836
commit be9dd30cd1
8 changed files with 21 additions and 21 deletions

View File

@@ -45,10 +45,10 @@ class S3FileManager {
return result.Body;
}
async deleteFolder(folderPathSegment) {
async deleteDir(dirPathSegment) {
const listObjectsCommand = new ListObjectsV2Command({
Bucket: sails.config.custom.s3Bucket,
Prefix: folderPathSegment,
Prefix: dirPathSegment,
});
const result = await this.client.send(listObjectsCommand);