From 566ca69d14854daee55197cc66c5379b10da79db Mon Sep 17 00:00:00 2001 From: Amin Latifi Date: Mon, 13 May 2024 10:39:47 +0330 Subject: [PATCH] Removed unused method --- src/controllers/projectVerificationAttestation.ts | 5 +---- src/controllers/utils/projectVerificationHelper.ts | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/controllers/projectVerificationAttestation.ts b/src/controllers/projectVerificationAttestation.ts index 89868c1..b46890a 100644 --- a/src/controllers/projectVerificationAttestation.ts +++ b/src/controllers/projectVerificationAttestation.ts @@ -10,10 +10,7 @@ import { getProject, updateProjectAttestationCounts, } from "./utils/modelHelper"; -import { - checkProjectAttestation, - parseAttestationData, -} from "./utils/projectVerificationHelper"; +import { parseAttestationData } from "./utils/projectVerificationHelper"; export const handleProjectAttestation = async ( ctx: DataHandlerContext, diff --git a/src/controllers/utils/projectVerificationHelper.ts b/src/controllers/utils/projectVerificationHelper.ts index 4268009..879cea0 100644 --- a/src/controllers/utils/projectVerificationHelper.ts +++ b/src/controllers/utils/projectVerificationHelper.ts @@ -47,7 +47,6 @@ export const parseAttestationData = ( let vouch: boolean; let projectSource: string; let projectId: string; - let attestorGroup: string; let comment: string; for (const item of decodedData) { @@ -62,9 +61,6 @@ export const parseAttestationData = ( case "projectId": projectId = value as string; break; - case "attestorGroup": - attestorGroup = value as string; - break; case "comment": comment = value as string; break; @@ -79,8 +75,6 @@ export const parseAttestationData = ( // @ts-ignore projectId, // @ts-ignore - attestorGroup, - // @ts-ignore comment, };