Skip to content

Commit bd8f4b7

Browse files
authored
Merge pull request #577 from SuperStormer/master
cosmetic fix for lock reason
2 parents 0f97ce4 + ba65c28 commit bd8f4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/postSkipSegments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ async function checkEachSegmentValid(rawIP: IPAddress, paramUserID: UserID, user
279279
errorMessage:
280280
`Users have voted that all the segments required for this video have already been submitted for the following category: ` +
281281
`'${segments[i].category}'\n` +
282-
`${lockedCategoryList[lockIndex].reason?.length !== 0 ? `\nReason: '${lockedCategoryList[lockIndex].reason}\n'` : ""}` +
282+
`${lockedCategoryList[lockIndex].reason?.length !== 0 ? `\nReason: '${lockedCategoryList[lockIndex].reason}'\n` : ""}` +
283283
`You may need to refresh if you don't see the segments.\n` +
284284
`${(segments[i].category === "sponsor" ? "\nMaybe the segment you are submitting is a different category that you have not enabled and is not a sponsor. " +
285285
"Categories that aren't sponsor, such as self-promotion can be enabled in the options.\n" : "")}` +

0 commit comments

Comments
 (0)