From ff0d9d9460fbc9fd3e3aece09b34e1b04325f9ad Mon Sep 17 00:00:00 2001 From: hh Date: Tue, 15 Oct 2024 18:44:23 +0330 Subject: [PATCH] chore: fix format:cspell --- src/handlers/generate-erc20-permit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/generate-erc20-permit.ts b/src/handlers/generate-erc20-permit.ts index 3ebda0f..8f39f3b 100644 --- a/src/handlers/generate-erc20-permit.ts +++ b/src/handlers/generate-erc20-permit.ts @@ -4,7 +4,7 @@ import { Context, Logger } from "../types/context"; import { PermitReward, TokenType } from "../types"; import { decrypt, parseDecryptedPrivateKey } from "../utils"; import { getFastestProvider } from "../utils/get-fastest-provider"; -import { v4 as uuidv4 } from "uuid"; +import { v4 as uuid } from "uuid"; export interface Payload { evmNetworkId: number; @@ -56,7 +56,7 @@ export async function generateErc20PermitSignature( } else if ("pull_request" in contextOrPayload.payload) { issueNodeId = contextOrPayload.payload.pull_request.node_id; } else if (contextOrPayload.config.runId) { - issueNodeId = uuidv4(); + issueNodeId = uuid(); } else { throw new Error("Issue Id is missing"); }