Remove unneeded data creation
This commit is contained in:
parent
d866fbcb62
commit
9161427968
|
@ -1,13 +1,11 @@
|
|||
import { PostListener, MessagesResponder } from "./routes";
|
||||
import express from "express";
|
||||
import dotenv from "dotenv";
|
||||
import { checkFile, emp, Logger } from "./utils";
|
||||
import { ReviewData } from "./utils/ReviewData";
|
||||
import { emp, Logger } from "./utils";
|
||||
dotenv.config();
|
||||
|
||||
const app = express();
|
||||
const logger = new Logger("Main");
|
||||
const data = new ReviewData(checkFile("data.json", "utf8"));
|
||||
|
||||
const post = new PostListener(app);
|
||||
const query = new MessagesResponder(app);
|
||||
|
|
Loading…
Reference in a new issue