From 539ae0df8463018f44155094a1234be70401b59a Mon Sep 17 00:00:00 2001 From: Abdelcadir Karim Date: Tue, 30 May 2017 15:52:38 +0200 Subject: [PATCH] fix issue readme, replace non-existent method addRecord() with addRecords() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c851da3543..71b971f0f95 100644 --- a/README.md +++ b/README.md @@ -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) {});