From 1681ddb0b2bafe9cdf5ed603c1b9e8d59bc92e45 Mon Sep 17 00:00:00 2001 From: Jayden Date: Thu, 22 Aug 2024 21:31:59 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: saleel --- packages/helpers/src/lib/mailauth/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/helpers/src/lib/mailauth/tools.ts b/packages/helpers/src/lib/mailauth/tools.ts index 7d978dec..0ae22fe0 100644 --- a/packages/helpers/src/lib/mailauth/tools.ts +++ b/packages/helpers/src/lib/mailauth/tools.ts @@ -249,7 +249,7 @@ export const formatSignatureHeaderLine = ( async function resolveDNSHTTP(name: string, type: string) { if (type !== "TXT") { - throw new Error("DKIM record type is TXT"); + throw new Error("DKIM record type is not TXT"); } const DKIMRecord = await DoH.resolveDKIMPublicKey(name, DoHServer.Google); if (!DKIMRecord) {