From f363f5ef0215e573ab2b1753ba85f41d289459eb Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 21 Oct 2019 13:53:50 -0600 Subject: [PATCH] bugfix missing prop --- browser.js | 1 + native.js | 1 + 2 files changed, 2 insertions(+) diff --git a/browser.js b/browser.js index d489415..669c4fc 100644 --- a/browser.js +++ b/browser.js @@ -3,6 +3,7 @@ var native = module.exports; native._canCheck = function(me) { + me._canCheck = {}; return me .request({ url: me._baseUrl + '/api/_acme_api_/' }) .then(function(resp) { diff --git a/native.js b/native.js index ead4fe4..88c90ef 100644 --- a/native.js +++ b/native.js @@ -5,6 +5,7 @@ var promisify = require('util').promisify; var resolveTxt = promisify(require('dns').resolveTxt); native._canCheck = function(me) { + me._canCheck = {}; me._canCheck['http-01'] = true; me._canCheck['dns-01'] = true; return Promise.resolve();