Skip to content

Commit

Permalink
fix issue readme, replace non-existent method addRecord() with addRec…
Browse files Browse the repository at this point in the history
…ords()
  • Loading branch information
Abdelcadir Karim authored and Abdelcadir Karim committed May 30, 2017
1 parent 0ef2737 commit 539ae0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ var nsRecord = zone.record('ns', {
data: 'ns-cloud1.googledomains.com.'
});

zone.addRecord(nsRecord, function(err, change) {});
zone.addRecords([nsRecord], function(err, change) {});

// Create a zonefile from the records in your zone.
zone.export('/zonefile.zone', function(err) {});
Expand Down

0 comments on commit 539ae0d

Please sign in to comment.