From 2c88a1044dca906995c5a354481c7bd4323f1f76 Mon Sep 17 00:00:00 2001 From: Lucian Date: Tue, 28 Nov 2023 14:36:33 -0800 Subject: [PATCH] fix(iam): fix import extension causing crash (#1953) --- iam/src/utils/challenge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/src/utils/challenge.ts b/iam/src/utils/challenge.ts index e670d0b12d..c345cfdbea 100644 --- a/iam/src/utils/challenge.ts +++ b/iam/src/utils/challenge.ts @@ -1,7 +1,7 @@ // ---- Return randomBytes as a challenge to test that the user has control of a provided address import { ChallengePayload, RequestPayload, VerifyRequestBody } from "@gitcoin/passport-types"; import crypto from "crypto"; -import { verifyDidChallenge } from "./verifyDidChallenge"; +import { verifyDidChallenge } from "./verifyDidChallenge.js"; import { utils } from "ethers"; // request a challenge sig export const getChallenge = (payload: RequestPayload): ChallengePayload => {