From b50b215f205070dbb6f125ebb1d7f746ab6ae319 Mon Sep 17 00:00:00 2001 From: "Michael M. Chang" Date: Fri, 3 Sep 2021 17:48:00 -0400 Subject: [PATCH] avoid unnecessary eslint-disable-line --- src/routes/shadowBanUser.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/routes/shadowBanUser.ts b/src/routes/shadowBanUser.ts index bd04760..babe909 100644 --- a/src/routes/shadowBanUser.ts +++ b/src/routes/shadowBanUser.ts @@ -126,6 +126,5 @@ async function unHideSubmissions(categories: string[], userID: UserID) { (await db.prepare("all", `SELECT "videoID", "hashedVideoID", "service", "votes", "views" FROM "sponsorTimes" WHERE "userID" = ?`, [userID])) .forEach((videoInfo: { category: Category; videoID: VideoID; hashedVideoID: VideoIDHash; service: Service; userID: UserID; }) => { QueryCacher.clearVideoCache(videoInfo); - } - ); //eslint-disable-line -} \ No newline at end of file + }); +}