From cdf564838bf03cd38d7c3965004875bb94f96d4f Mon Sep 17 00:00:00 2001 From: sinkaroid Date: Fri, 3 Jun 2022 09:47:21 +0700 Subject: [PATCH] fix(controller): remove logs and minor comments --- controller/simply-hentai/simply-hentaiGet.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/controller/simply-hentai/simply-hentaiGet.ts b/controller/simply-hentai/simply-hentaiGet.ts index b7fd8df..29bd68b 100644 --- a/controller/simply-hentai/simply-hentaiGet.ts +++ b/controller/simply-hentai/simply-hentaiGet.ts @@ -1,11 +1,9 @@ import { scrapeContent } from "../../scraper/simply-hentai/simply-hentaiGetController"; import c from "../../utils/options"; -import { logger } from "../../utils/logger"; export async function getSimplyhentai(req: any, res: any) { try { const book = req.query.book || ""; - //if book not following format "abc/1", trhow error // if (book.split("/").length !== 2) throw Error("Book must be in format 'book_example/chapter'. Example: 'fate_lewd_summoning/1'"); const url = `${c.SIMPLY_HENTAI_PROXIFIED}/${book}`; console.log(url);