mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 06:39:44 +02:00
ref: Rename folder to dir for consistency
This commit is contained in:
parent
0ae8b27836
commit
be9dd30cd1
8 changed files with 21 additions and 21 deletions
|
@ -102,7 +102,7 @@ module.exports = {
|
|||
const fileManager = sails.hooks['file-manager'].getInstance();
|
||||
|
||||
try {
|
||||
await fileManager.deleteFolder(
|
||||
await fileManager.deleteDir(
|
||||
`${sails.config.custom.userAvatarsPathSegment}/${inputs.record.avatar.dirname}`,
|
||||
);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue