fix(controller): remove logs and minor comments

このコミットが含まれているのは:
sinkaroid 2022-06-03 09:47:21 +07:00
コミット cdf564838b
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A7DF4E245FDD8159
1個のファイルの変更0行の追加2行の削除

ファイルの表示

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