From bcd3a305790c870c4b6972a911f495e2ec438c68 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 7 Sep 2018 11:44:31 -0700 Subject: [PATCH] cloudflare: priority is now an integer --- src/dns/cloudflare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns/cloudflare.js b/src/dns/cloudflare.js index 00a799f36..f9dd5bd54 100644 --- a/src/dns/cloudflare.js +++ b/src/dns/cloudflare.js @@ -112,7 +112,7 @@ function upsert(dnsConfig, zoneName, subdomain, type, values, callback) { var priority = null; if (type === 'MX') { - priority = value.split(' ')[0]; + priority = parseInt(value.split(' ')[0], 10); value = value.split(' ')[1]; }