cloudflare: priority is now an integer

This commit is contained in:
Girish Ramakrishnan
2018-09-07 11:44:31 -07:00
parent 2e756a9b25
commit bcd3a30579
+1 -1
View File
@@ -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];
}