mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 22:59:44 +02:00
ref: Rename folder to dir for consistency
This commit is contained in:
parent
917dcf31cf
commit
9794919fd2
8 changed files with 21 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue