mirror of
https://github.com/zkemail/zk-email-verify.git
synced 2026-01-09 13:38:03 -05:00
Apply suggestions from code review
Co-authored-by: saleel <saleel@saleel.xyz>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user