Remove category from segment id

This commit is contained in:
Ajay Ramachandran
2021-07-07 18:21:25 -04:00
parent ed5de984f2
commit a471e057f5
2 changed files with 4 additions and 4 deletions

View File

@@ -3,6 +3,6 @@ import { HashedValue } from '../types/hash.model';
import { ActionType, Category, VideoID } from '../types/segments.model';
import { UserID } from '../types/user.model';
export function getSubmissionUUID(videoID: VideoID, category: Category, actionType: ActionType, userID: UserID, startTime: number, endTime: number): HashedValue{
return `3${getHash('v3' + videoID + startTime + endTime + category + userID, 1)}` as HashedValue;
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;
}