mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-27 11:41:36 +00:00
cleanup
This commit is contained in:
parent
3cd09eecba
commit
b77f7f2514
2 changed files with 0 additions and 22 deletions
|
|
@ -297,14 +297,12 @@ class ApiController {
|
|||
return res.sendStatus(403)
|
||||
}
|
||||
let SSOUpdate = req.body
|
||||
Logger.debug("SSOUpdate=", SSOUpdate)
|
||||
if (!SSOUpdate || !isObject(SSOUpdate)) {
|
||||
return res.status(500).send('Invalid settings update object')
|
||||
}
|
||||
|
||||
|
||||
var madeUpdates = this.db.SSOSettings.update(SSOUpdate)
|
||||
console.log("SSOUpdate", JSON.stringify(this.db.SSOSettings))
|
||||
if (madeUpdates) {
|
||||
await this.db.updateEntity('settings', this.db.SSOSettings)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue