From 8291165259de9058da4a67877b4a476d9f3d3496 Mon Sep 17 00:00:00 2001 From: Yash Kumar Date: Tue, 8 Sep 2026 17:32:11 +0530 Subject: [PATCH] Update packages/server/src/utils/dns/porkbun.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- packages/server/src/utils/dns/porkbun.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/server/src/utils/dns/porkbun.ts b/packages/server/src/utils/dns/porkbun.ts index cb029b81e..c3b68fead 100644 --- a/packages/server/src/utils/dns/porkbun.ts +++ b/packages/server/src/utils/dns/porkbun.ts @@ -61,9 +61,7 @@ const inlinePriority = (record: { content: string; prio?: string | null; }) => - (record.type === "MX" || record.type === "SRV") && - record.prio && - record.prio !== "0" + (record.type === "MX" || record.type === "SRV") && record.prio != null ? `${record.prio} ${record.content}` : record.content;