aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-04-26 21:56:46 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-04-26 21:56:46 +0200
commit35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa (patch)
tree0609afaa85a7af9c85687c0e4a4a6c8bca053fc8
parentbb1e6d0ce32a6553a83e0a7863cb2b3a65023cd1 (diff)
downloadPeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.tar.gz
PeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.tar.zst
PeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.zip
Fix lodash map require
-rw-r--r--server/controllers/api/v1/remoteVideos.js2
-rw-r--r--server/lib/poolRequests.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/v1/remoteVideos.js b/server/controllers/api/v1/remoteVideos.js
index 2437b8c44..5e9e71fdd 100644
--- a/server/controllers/api/v1/remoteVideos.js
+++ b/server/controllers/api/v1/remoteVideos.js
@@ -1,7 +1,7 @@
1'use strict' 1'use strict'
2 2
3const express = require('express') 3const express = require('express')
4const map = require('lodash-node/modern/collection/map') 4const map = require('lodash/map')
5 5
6const middleware = require('../../../middlewares') 6const middleware = require('../../../middlewares')
7const secureMiddleware = middleware.secure 7const secureMiddleware = middleware.secure
diff --git a/server/lib/poolRequests.js b/server/lib/poolRequests.js
index 6fe0cb185..49e61700c 100644
--- a/server/lib/poolRequests.js
+++ b/server/lib/poolRequests.js
@@ -1,7 +1,7 @@
1'use strict' 1'use strict'
2 2
3const async = require('async') 3const async = require('async')
4const map = require('lodash-node/compat/collection/map') 4const map = require('lodash/map')
5 5
6const constants = require('../initializers/constants') 6const constants = require('../initializers/constants')
7const logger = require('../helpers/logger') 7const logger = require('../helpers/logger')