mirror of
https://github.com/strapi/strapi.git
synced 2025-09-08 16:16:21 +00:00
strapi-hook-bookshelf: minor change for code clarity
This commit is contained in:
parent
8b6bfdae70
commit
b0a21b46f0
@ -60,7 +60,7 @@ module.exports = function(strapi) {
|
||||
'config',
|
||||
'functions',
|
||||
'bookshelf.js'
|
||||
))(ORM, strapi.connections[connectionName]);
|
||||
))(ORM, connection);
|
||||
} catch (err) {
|
||||
// This is not an error if the file is not found.
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ module.exports = function (strapi) {
|
||||
'config',
|
||||
'functions',
|
||||
'mongoose.js'
|
||||
))(instance, strapi.config.connections[connectionName]);
|
||||
))(instance, connection);
|
||||
} catch (err) {
|
||||
// This is not an error if the file is not found.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user