From ba65c284598dab116eae2551c139daceabb483d5 Mon Sep 17 00:00:00 2001 From: SuperStormer <41648788+SuperStormer@users.noreply.github.com> Date: Fri, 15 Mar 2024 02:20:24 -0400 Subject: [PATCH] Update postSkipSegments.ts --- src/routes/postSkipSegments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/postSkipSegments.ts b/src/routes/postSkipSegments.ts index 616e28d..83f8eda 100644 --- a/src/routes/postSkipSegments.ts +++ b/src/routes/postSkipSegments.ts @@ -279,7 +279,7 @@ async function checkEachSegmentValid(rawIP: IPAddress, paramUserID: UserID, user errorMessage: `Users have voted that all the segments required for this video have already been submitted for the following category: ` + `'${segments[i].category}'\n` + - `${lockedCategoryList[lockIndex].reason?.length !== 0 ? `\nReason: '${lockedCategoryList[lockIndex].reason}\n'` : ""}` + + `${lockedCategoryList[lockIndex].reason?.length !== 0 ? `\nReason: '${lockedCategoryList[lockIndex].reason}'\n` : ""}` + `You may need to refresh if you don't see the segments.\n` + `${(segments[i].category === "sponsor" ? "\nMaybe the segment you are submitting is a different category that you have not enabled and is not a sponsor. " + "Categories that aren't sponsor, such as self-promotion can be enabled in the options.\n" : "")}` +