Apply suggestions from code review

Co-authored-by: saleel <saleel@saleel.xyz>
This commit is contained in:
Jayden
2024-08-22 21:31:59 +08:00
committed by GitHub
parent df28feaf1e
commit 11c846d021

View File

@@ -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) {