mirror of https://github.com/Chocobozzz/PeerTube
Fix lodash map require
parent
bb1e6d0ce3
commit
35f1c54e32
|
@ -1,7 +1,7 @@
|
|||
'use strict'
|
||||
|
||||
const express = require('express')
|
||||
const map = require('lodash-node/modern/collection/map')
|
||||
const map = require('lodash/map')
|
||||
|
||||
const middleware = require('../../../middlewares')
|
||||
const secureMiddleware = middleware.secure
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict'
|
||||
|
||||
const async = require('async')
|
||||
const map = require('lodash-node/compat/collection/map')
|
||||
const map = require('lodash/map')
|
||||
|
||||
const constants = require('../initializers/constants')
|
||||
const logger = require('../helpers/logger')
|
||||
|
|
Loading…
Reference in New Issue