Reset password and users table on settings page

This commit is contained in:
advplyr 2021-08-22 10:46:04 -05:00
parent e7898377ed
commit 5ecfaa88c2
9 changed files with 221 additions and 58 deletions

View file

@ -143,8 +143,10 @@ class Db {
this[arrayKey] = this[arrayKey].map(e => {
return e.id === entity.id ? entity : e
})
return true
}).catch((error) => {
Logger.error(`[DB] Update entity ${entityName} Failed: ${error}`)
return false
})
}