mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 19:47:00 +03:00
7 lines
316 B
TypeScript
7 lines
316 B
TypeScript
import {getHash} from './getHash';
|
|
import { HashedValue } from '../types/hash.model';
|
|
|
|
export function getSubmissionUUID(videoID: string, category: string, userID: string, startTime: number, endTime: number): HashedValue{
|
|
return getHash('v2-categories' + videoID + startTime + endTime + category + userID, 1);
|
|
}
|