mirror of
https://github.com/strapi/strapi.git
synced 2025-09-02 21:32:43 +00:00
Removed async/await as it had to impact
This commit is contained in:
parent
1edb583176
commit
aabecd2fec
@ -40,10 +40,10 @@ module.exports = function(strapi) {
|
||||
* Initialize the hook
|
||||
*/
|
||||
|
||||
initialize: async cb => {
|
||||
initialize: cb => {
|
||||
const connections = _.pickBy(strapi.config.connections, { connector: 'strapi-bookshelf' });
|
||||
|
||||
await _.forEach(connections, (connection, connectionName) => {
|
||||
_.forEach(connections, (connection, connectionName) => {
|
||||
// Apply defaults
|
||||
_.defaults(connection.settings, strapi.config.hook.settings.bookshelf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user