Allow mute and skip segments with same times

This commit is contained in:
Ajay Ramachandran
2021-09-05 22:40:40 -04:00
parent 1823a91d54
commit 1e05c04a39
3 changed files with 4 additions and 4 deletions

View File

@@ -4,5 +4,5 @@ import { ActionType, VideoID } from "../types/segments.model";
import { UserID } from "../types/user.model";
export function getSubmissionUUID(videoID: VideoID, actionType: ActionType, userID: UserID, startTime: number, endTime: number): HashedValue{
return `3${getHash(`v3${videoID}${startTime}${endTime}${userID}`, 1)}` as HashedValue;
return `4${getHash(`${videoID}${startTime}${endTime}${userID}${actionType}`, 1)}` as HashedValue;
}