mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
ref: Rename folder to dir for consistency
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user