diff options
author | Ajay <[email protected]> | 2023-02-18 22:44:34 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-02-18 22:44:34 -0500 |
commit | 4095ca8642d5fefb4df2ebd0cc4b4f31ca9c425d (patch) | |
tree | 701e32464c2f3c812f0a777eea715ca5222baa59 /src/utils/exporter.ts | |
parent | 4ca6a331f1bfb08447fe2bc7f94cf6ed599b2d32 (diff) | |
download | SponsorBlock-4095ca8642d5fefb4df2ebd0cc4b4f31ca9c425d.tar.gz SponsorBlock-4095ca8642d5fefb4df2ebd0cc4b4f31ca9c425d.zip |
Fix missing userid generation call swaps
Diffstat (limited to 'src/utils/exporter.ts')
-rw-r--r-- | src/utils/exporter.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts index 3a199708..25b7c254 100644 --- a/src/utils/exporter.ts +++ b/src/utils/exporter.ts @@ -1,8 +1,8 @@ import { ActionType, Category, SegmentUUID, SponsorSourceType, SponsorTime } from "../types"; import { shortCategoryName } from "./categoryUtils"; -import { GenericUtils } from "./genericUtils"; import * as CompileConfig from "../../config.json"; import { getFormattedTime, getFormattedTimeToSeconds } from "@ajayyy/maze-utils/lib/formating"; +import { generateUserID } from "@ajayyy/maze-utils/lib/setup"; const inTest = typeof chrome === "undefined"; @@ -62,7 +62,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[] actionType: determinedCategory ? ActionType.Skip : ActionType.Chapter, description: title, source: SponsorSourceType.Local, - UUID: GenericUtils.generateUserID() as SegmentUUID + UUID: generateUserID() as SegmentUUID }; if (result.length > 0 && result[result.length - 1].segment[1] === null) { |