mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 09:49:24 +02:00
Fix:Applying backup not properly overwriting existing sqlite file
- Fixed resetting api cache on backup - Added loading indicator in backups table - Fixed apply backup api not responding with 200 http status code - Added additional logging and failsafes
This commit is contained in:
parent
88f9533b37
commit
a2b2a2d060
5 changed files with 78 additions and 8 deletions
|
@ -49,8 +49,13 @@ class BackupController {
|
|||
res.sendFile(req.backup.fullPath)
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
apply(req, res) {
|
||||
this.backupManager.requestApplyBackup(req.backup, res)
|
||||
this.backupManager.requestApplyBackup(this.apiCacheManager, req.backup, res)
|
||||
}
|
||||
|
||||
middleware(req, res, next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue