diff --git a/api/controllers/chatController.js b/api/controllers/chatController.js index fb3d8b6..b680cb7 100644 --- a/api/controllers/chatController.js +++ b/api/controllers/chatController.js @@ -1,5 +1,6 @@ const path = require("path"); -const { history, clearHistory } = require(path.join(__dirname + "/../api/redis")); +const { history, clearHistory } = require(path.join(__dirname + "/../redis")); +console.log("loading chat"); const getAllHistory = (req, res) => { let { page, limit } = req.query;