Fix duplicate chapter issue

Fix https://github.com/ajayyy/SponsorBlockServer/issues/521
This commit is contained in:
Ajay
2023-01-21 21:52:39 -05:00
parent 66c2be6012
commit 2ed23d7fcb
3 changed files with 6 additions and 4 deletions

View File

@@ -7,10 +7,11 @@ export function getSubmissionUUID(
videoID: VideoID,
category: Category,
actionType: ActionType,
description: string,
userID: UserID,
startTime: number,
endTime: number,
service: Service
) : HashedValue {
return `${getHash(`${videoID}${startTime}${endTime}${userID}${category}${actionType}${service}`, 1)}6` as HashedValue;
return `${getHash(`${videoID}${startTime}${endTime}${userID}${description}${category}${actionType}${service}`, 1)}7` as HashedValue;
}