1
0
Fork 0

Fix lodash map require

This commit is contained in:
Chocobozzz 2016-04-26 21:56:46 +02:00
parent bb1e6d0ce3
commit 35f1c54e32
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
'use strict' 'use strict'
const express = require('express') const express = require('express')
const map = require('lodash-node/modern/collection/map') const map = require('lodash/map')
const middleware = require('../../../middlewares') const middleware = require('../../../middlewares')
const secureMiddleware = middleware.secure const secureMiddleware = middleware.secure

View file

@ -1,7 +1,7 @@
'use strict' 'use strict'
const async = require('async') const async = require('async')
const map = require('lodash-node/compat/collection/map') const map = require('lodash/map')
const constants = require('../initializers/constants') const constants = require('../initializers/constants')
const logger = require('../helpers/logger') const logger = require('../helpers/logger')