Remove unused imports
This commit is contained in:
parent
d077fdc016
commit
a2de4f12d8
|
@ -1,6 +1,5 @@
|
|||
import fs from "fs";
|
||||
import { ServerSideReview, userReviewSchema, typeJson } from "../types";
|
||||
import { bold, checkFile, emp, Logger, responder } from "../utils";
|
||||
import { userReviewSchema, typeJson } from "../types";
|
||||
import { bold, emp, Logger, responder } from "../utils";
|
||||
import { Express, Request, Response } from "express";
|
||||
import { ReviewData } from "../utils/ReviewData";
|
||||
|
||||
|
@ -19,7 +18,6 @@ export class PostListener {
|
|||
req.on("data", async (chunk) => {
|
||||
const sender = `${bold(emp("Client:"))} ${emp(req.headers["user-agent"])}`;
|
||||
|
||||
let data: ServerSideReview[] = checkFile("data.json", "utf8");
|
||||
let temp: any;
|
||||
|
||||
try {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import fs from "fs";
|
||||
import { serverReviewSchema, ServerSideReview, UserSideReview } from "../types";
|
||||
import { ServerSideReview, UserSideReview } from "../types";
|
||||
|
||||
export function checkFile(
|
||||
file: string,
|
||||
|
|
Loading…
Reference in a new issue