[fix] export directories
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c5b181dda4
commit
8a8f12c07a
@ -421,10 +421,10 @@ func (api *API) appPerformAdminAction(c *gin.Context) {
|
||||
// Backup Covers & Documents
|
||||
for _, item := range rAdminAction.BackupTypes {
|
||||
if item == BACKUP_TYPE_COVERS {
|
||||
filepath.WalkDir(path.Join(api.Config.ConfigPath, "covers"), exportWalker)
|
||||
filepath.WalkDir(path.Join(api.Config.DataPath, "covers"), exportWalker)
|
||||
|
||||
} else if item == BACKUP_TYPE_DOCUMENTS {
|
||||
filepath.WalkDir(path.Join(api.Config.ConfigPath, "documents"), exportWalker)
|
||||
filepath.WalkDir(path.Join(api.Config.DataPath, "documents"), exportWalker)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user