From 56ba08f17ed846763e7725e67f5f0e69585abbcf Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 17 Apr 2017 14:31:24 -0400 Subject: [PATCH] fix require path --- src/upgrades/1.4.6/delete_sessions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrades/1.4.6/delete_sessions.js b/src/upgrades/1.4.6/delete_sessions.js index dd9cbb91e4..0a78f11206 100644 --- a/src/upgrades/1.4.6/delete_sessions.js +++ b/src/upgrades/1.4.6/delete_sessions.js @@ -15,7 +15,7 @@ module.exports = { async.waterfall([ function (next) { if (isRedisSessionStore) { - var rdb = require.main.require('./database/redis'); + var rdb = require.main.require('./src/database/redis'); var client = rdb.connect(); async.waterfall([ function (next) {