1
0
Fork 0
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:
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

@ -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) {