Fix lodash map require
This commit is contained in:
parent
bb1e6d0ce3
commit
35f1c54e32
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue