mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-30 04:44:54 +01:00
Fix backup name
This commit is contained in:
parent
7abd6bab8b
commit
6f20b97488
@ -73,13 +73,13 @@ export function doBackupWorkflow(type: WorkflowType) {
|
||||
if (webdavConfig.chunckedUpload) {
|
||||
return webDavService.chunkedUpload(
|
||||
tmpFile,
|
||||
getBackupFolder(type, webdavConfig) + name,
|
||||
getBackupFolder(type, webdavConfig) + name + ".tar",
|
||||
webdavConfig
|
||||
);
|
||||
} else {
|
||||
return webDavService.webdavUploadFile(
|
||||
tmpFile,
|
||||
getBackupFolder(type, webdavConfig) + name,
|
||||
getBackupFolder(type, webdavConfig) + name + ".tar",
|
||||
webdavConfig
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user