Skip to content

Commit 8562dc2

Browse files
committed
lint fix
1 parent 005ae2c commit 8562dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/voteOnSponsorTime.ts

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

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

test/mocks/gumroadMock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ const subCode = (length = 8) => {
1717
result += characters[(Math.floor(Math.random() * characters.length))];
1818
}
1919
return result;
20-
}
20+
};
2121

2222
export const generateLicense = (): string => `${subCode()}-${subCode()}-${subCode()}-${subCode()}`;

0 commit comments

Comments
 (0)