mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-23 22:46:44 +01:00
🔨 Fix for new version of webdav lib
This commit is contained in:
parent
8ecf69c83e
commit
4c96f698eb
@ -87,7 +87,7 @@ class WebdavTools {
|
||||
await this.client.createDirectory(path);
|
||||
logger.debug(`Path ${path} created.`);
|
||||
} catch (error) {
|
||||
if (error.response.status === 405) logger.debug(`Path ${path} already exist.`);
|
||||
if (error.status === 405) logger.debug(`Path ${path} already exist.`);
|
||||
else logger.error(error);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user