We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0163c79 commit aa2c6adCopy full SHA for aa2c6ad
1 file changed
packages/dns/README.md
@@ -31,13 +31,13 @@ var nsRecord = zone.record('ns', {
31
data: 'ns-cloud1.googledomains.com.'
32
});
33
34
-zone.addRecord(nsRecord, function(err, change) {});
+zone.addRecords([nsRecord], function(err, change) {});
35
36
// Create a zonefile from the records in your zone.
37
zone.export('/zonefile.zone', function(err) {});
38
39
// Promises are also supported by omitting callbacks.
40
-zone.addRecords(nsRecord).then(function(data) {
+zone.addRecords([nsRecord]).then(function(data) {
41
var change = data[0];
42
43
0 commit comments