Skip to content

Commit ceaf9ec

Browse files
committed
Fix linter warning
1 parent d229003 commit ceaf9ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/voteOnSponsorTime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ async function categoryVote(UUID: SegmentUUID, userID: UserID, isVIP: boolean, i
221221
[UUID], { useReplica: true })) as {category: Category, actionType: ActionType, videoID: VideoID, hashedVideoID: VideoIDHash, service: Service, userID: UserID, locked: number};
222222

223223
if (!config.categorySupport[category]?.includes(segmentInfo.actionType) || segmentInfo.actionType === ActionType.Full) {
224-
return { status: 400, message: `Not allowed to change to ${category} when for segment of type ${segmentInfo.actionType}`};
224+
return { status: 400, message: `Not allowed to change to ${category} when for segment of type ${segmentInfo.actionType}` };
225225
}
226226
if (!config.categoryList.includes(category)) {
227227
return { status: 400, message: "Category doesn't exist." };

0 commit comments

Comments
 (0)