From 35f1c54e32be0b5e8e21aa6fae6a79311d4f95aa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Apr 2016 21:56:46 +0200 Subject: Fix lodash map require --- server/controllers/api/v1/remoteVideos.js | 2 +- 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 @@ '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 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 @@ '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') -- cgit v1.2.3