mirror of https://github.com/Chocobozzz/PeerTube
Fix lodash map require
parent
bb1e6d0ce3
commit
35f1c54e32
|
@ -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 New Issue