Fixed import location for redis.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user