mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-21 08:01:34 +01:00
Update get all backups api endpoint to return backupLocation, display location above backup settings
This commit is contained in:
1 parent
944f5950ca
commit
f37ab53eff
4 files changed
+16
-29
No files matched your search
@@ -6,12 +6,7 @@ class BackupController {
|
||||
|
||||
getAll(req, res) {
|
||||
res.json({
|
||||
backups: this.backupManager.backups.map(b => b.toJSON())
|
||||
})
|
||||
}
|
||||
|
||||
getBackupLocation(req, res) {
|
||||
res.json({
|
||||
backups: this.backupManager.backups.map(b => b.toJSON()),
|
||||
backupLocation: this.backupManager.backupLocation
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user