mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 09:49:24 +02:00
Migrate backups manager
This commit is contained in:
parent
0a179e4eed
commit
254ba1f089
8 changed files with 202 additions and 107 deletions
|
@ -43,9 +43,8 @@ class BackupController {
|
|||
res.sendFile(req.backup.fullPath)
|
||||
}
|
||||
|
||||
async apply(req, res) {
|
||||
await this.backupManager.requestApplyBackup(req.backup)
|
||||
res.sendStatus(200)
|
||||
apply(req, res) {
|
||||
this.backupManager.requestApplyBackup(req.backup, res)
|
||||
}
|
||||
|
||||
middleware(req, res, next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue