TXT values must be quoted

This commit is contained in:
Girish Ramakrishnan
2018-09-27 20:17:39 -07:00
parent b9918cb6fb
commit a34fe120fb
2 changed files with 2 additions and 1 deletions

View File

@@ -380,6 +380,7 @@ function getDnsRecords(subdomain, domain, type, callback) {
});
}
// note: for TXT records the values must be quoted
function upsertDnsRecords(subdomain, domain, type, values, callback) {
assert.strictEqual(typeof subdomain, 'string');
assert.strictEqual(typeof domain, 'string');