Skip to content

Commit b051814

Browse files
committed
Change import line
1 parent 14e8189 commit b051814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/custom/SplitPdfHook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import async from "async";
2-
import 'crypto';
2+
import {randomUUID} from 'crypto';
33

44
import {
55
AfterErrorContext,
@@ -99,7 +99,7 @@ export class SplitPdfHook
9999
): Promise<Request> {
100100

101101
// setting the current operationID to be unique
102-
const operationID = "partition-" + crypto.randomUUID();
102+
const operationID = "partition-" + randomUUID();
103103
hookCtx.operationID = operationID;
104104

105105
const requestClone = request.clone();

0 commit comments

Comments
 (0)