diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-26 21:56:46 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-26 21:56:46 +0200 |
commit | 35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa (patch) | |
tree | 0609afaa85a7af9c85687c0e4a4a6c8bca053fc8 | |
parent | bb1e6d0ce32a6553a83e0a7863cb2b3a65023cd1 (diff) | |
download | PeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.tar.gz PeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.tar.zst PeerTube-35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa.zip |
Fix lodash map require
-rw-r--r-- | server/controllers/api/v1/remoteVideos.js | 2 | ||||
-rw-r--r-- | server/lib/poolRequests.js | 2 |
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 | ||
3 | const express = require('express') | 3 | const express = require('express') |
4 | const map = require('lodash-node/modern/collection/map') | 4 | const map = require('lodash/map') |
5 | 5 | ||
6 | const middleware = require('../../../middlewares') | 6 | const middleware = require('../../../middlewares') |
7 | const secureMiddleware = middleware.secure | 7 | const 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 | ||
3 | const async = require('async') | 3 | const async = require('async') |
4 | const map = require('lodash-node/compat/collection/map') | 4 | const map = require('lodash/map') |
5 | 5 | ||
6 | const constants = require('../initializers/constants') | 6 | const constants = require('../initializers/constants') |
7 | const logger = require('../helpers/logger') | 7 | const logger = require('../helpers/logger') |