mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-28 13:20:48 +03:00
migrate to typescript
This commit is contained in:
committed by
Dainius Dauksevicius
parent
c462323dd5
commit
08d27265fc
5
src/utils/getSubmissionUUID.ts
Normal file
5
src/utils/getSubmissionUUID.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import {getHash} from './getHash';
|
||||
|
||||
export function getSubmissionUUID(videoID: string, category: string, userID: string, startTime: number, endTime: number) {
|
||||
return getHash('v2-categories' + videoID + startTime + endTime + category + userID, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user