Update packages/server/src/utils/dns/porkbun.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Yash Kumar
2026-09-08 17:32:11 +05:30
committed by GitHub
parent e701644fa5
commit 8291165259
+1 -3
View File
@@ -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;