mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 23:09:47 +00:00
feat: expose mongoose connections
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
This commit is contained in:
parent
0f64aec794
commit
489d2e33fd
@ -125,6 +125,8 @@ module.exports = function(strapi) {
|
||||
connection,
|
||||
};
|
||||
|
||||
_.set(strapi, `connections.${connectionName}`, instance);
|
||||
|
||||
return Promise.all([
|
||||
mountComponents(connectionName, ctx),
|
||||
mountApis(connectionName, ctx),
|
||||
|
Loading…
x
Reference in New Issue
Block a user