Add traps; user registration

This commit is contained in:
garrettmills
2020-05-20 09:56:03 -05:00
parent 7663cea2ea
commit ea77402750
19 changed files with 493 additions and 24 deletions

View File

@@ -23,7 +23,7 @@ class SettingModel extends Model {
static async get(key) {
const inst = await this.findOne({ key })
return inst.get()
return inst?.get()
}
static async set(key, value) {