"express-oauth-server": "https://github.com/Chocobozzz/express-oauth-server",
"express-validator": "^2.11.0",
"js-yaml": "^3.5.4",
- "lodash-node": "^3.10.2",
+ "lodash": "^4.11.1",
"mkdirp": "^0.5.1",
"mongoose": "^4.0.5",
"morgan": "^1.5.3",
'use strict'
const async = require('async')
-const pluck = require('lodash-node/compat/collection/pluck')
+const map = require('lodash-node/compat/collection/map')
const constants = require('../initializers/constants')
const logger = require('../helpers/logger')
if (pods.length === 0) return
- const urls = pluck(pods, 'url')
- const ids = pluck(pods, '_id')
+ const urls = map(pods, 'url')
+ const ids = map(pods, '_id')
Videos.removeAllRemotesOf(urls, function (err, r) {
if (err) {