aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/exporter.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-02-18 22:44:34 -0500
committerAjay <[email protected]>2023-02-18 22:44:34 -0500
commit4095ca8642d5fefb4df2ebd0cc4b4f31ca9c425d (patch)
tree701e32464c2f3c812f0a777eea715ca5222baa59 /src/utils/exporter.ts
parent4ca6a331f1bfb08447fe2bc7f94cf6ed599b2d32 (diff)
downloadSponsorBlock-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.ts4
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) {