mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: allow run script via cli
This commit is contained in:
1 parent
260261fcfe
commit
a2edf18737
6 files changed
+36
-39
No files matched your search
@@ -67,7 +67,7 @@ export async function runConfig() {
|
||||
}
|
||||
const config = await coll.find().toArray();
|
||||
for (const i of config) cache[i._id] = i.value;
|
||||
bus.emit('database/config');
|
||||
await bus.emit('database/config');
|
||||
}
|
||||
|
||||
bus.on('system/setting', (args) => {
|
||||
|
||||
Reference in new issue
Block a user