From d392b1c8fcb7638fa9768863d86535b5e72d32b1 Mon Sep 17 00:00:00 2001 From: Michael C Date: Thu, 31 Mar 2022 16:52:05 -0400 Subject: [PATCH] remove outdated comments & unnecessary space --- src/routes/postSkipSegments.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/routes/postSkipSegments.ts b/src/routes/postSkipSegments.ts index 2d89516..3e6a8c0 100644 --- a/src/routes/postSkipSegments.ts +++ b/src/routes/postSkipSegments.ts @@ -328,7 +328,7 @@ async function checkEachSegmentValid(rawIP: IPAddress, paramUserID: UserID, user async function checkByAutoModerator(videoID: any, userID: any, segments: Array, service:string, apiVideoInfo: APIVideoInfo, videoDuration: number): Promise { // Auto moderator check if (service == Service.YouTube) { - const autoModerateResult = await autoModerateSubmission(apiVideoInfo, { userID, videoID, segments, service, videoDuration });//startTime, endTime, category: segments[i].category}); + const autoModerateResult = await autoModerateSubmission(apiVideoInfo, { userID, videoID, segments, service, videoDuration }); if (autoModerateResult) { return { pass: false, @@ -337,7 +337,6 @@ async function checkByAutoModerator(videoID: any, userID: any, segments: Array