mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-17 03:44:20 +03:00
Remove category from segment id
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user