mirror of
https://github.com/plankanban/planka.git
synced 2025-12-15 17:23:19 +03:00
ref: Rename folder to dir for consistency
This commit is contained in:
@@ -86,7 +86,7 @@ module.exports = {
|
||||
const fileManager = sails.hooks['file-manager'].getInstance();
|
||||
|
||||
try {
|
||||
await fileManager.deleteFolder(
|
||||
await fileManager.deleteDir(
|
||||
`${sails.config.custom.projectBackgroundImagesPathSegment}/${inputs.record.backgroundImage.dirname}`,
|
||||
);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user