We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e8189 commit b051814Copy full SHA for b051814
src/hooks/custom/SplitPdfHook.ts
@@ -1,5 +1,5 @@
1
import async from "async";
2
-import 'crypto';
+import {randomUUID} from 'crypto';
3
4
import {
5
AfterErrorContext,
@@ -99,7 +99,7 @@ export class SplitPdfHook
99
): Promise<Request> {
100
101
// setting the current operationID to be unique
102
- const operationID = "partition-" + crypto.randomUUID();
+ const operationID = "partition-" + randomUUID();
103
hookCtx.operationID = operationID;
104
105
const requestClone = request.clone();
0 commit comments