diff --git a/lib/index.js b/lib/index.js index 7641179..d739b77 100644 --- a/lib/index.js +++ b/lib/index.js @@ -65,16 +65,15 @@ module.exports.create = function(config) { //"isServing": true } }); - - }) + }) .then(function(resp) { if (resp.body.error) { console.error(resp.headers); console.error(resp.body); throw new Error(resp.body.error); - } - return null - }); + } + return null; + }); }, remove: function(data) { // console.info('Remove TXT', data);