mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
添加站内消息,修复讨论节点丢失的问题
This commit is contained in:
1 parent
33e277f28f
commit
627e64a901
44 files changed
+582
-540
No files matched your search
+1
-1
@@ -16,6 +16,6 @@ Mongo.MongoClient.connect(mongourl, { useNewUrlParser: true, useUnifiedTopology:
|
||||
bus.publish('system_database_connected', null);
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
global.Hydro.service.db = module.exports = {
|
||||
collection: (c) => db.collection(c),
|
||||
};
|
||||
Reference in new issue
Block a user