diff options
| author | Pitu <[email protected]> | 2021-06-07 16:25:02 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-06-07 16:25:02 +0900 |
| commit | 5f5716963dfda3bcae5dab1398d78c933b762c95 (patch) | |
| tree | 27e7c1bc605f3835fe5141147a1e692a7883040a /src/api/utils | |
| parent | feat: implement initial values and saving to db logic (diff) | |
| download | host.fuwn.me-5f5716963dfda3bcae5dab1398d78c933b762c95.tar.xz host.fuwn.me-5f5716963dfda3bcae5dab1398d78c933b762c95.zip | |
wip
Diffstat (limited to 'src/api/utils')
| -rw-r--r-- | src/api/utils/Util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js index e760679..878a542 100644 --- a/src/api/utils/Util.js +++ b/src/api/utils/Util.js @@ -68,6 +68,7 @@ class Util { } static async writeConfigToDb(config, overwrite = true) { + // TODO: Check that the config passes the joi schema validation try { if (overwrite) { await db.table('settings').first().update(config); |