mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-05 00:52:59 +01:00
Fix backup name
This commit is contained in:
parent
f0e603431c
commit
54e4f2f769
@ -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