Fixed import location for redis.

This commit is contained in:
2021-01-26 23:04:15 +01:00
parent ce480e790a
commit b321f2cfdd

View File

@@ -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;