From d84ffdfcdf148dd0c8a22f03a9d4cbbe9a3dc134 Mon Sep 17 00:00:00 2001 From: Sam Lord Date: Fri, 9 Apr 2021 14:05:41 +0100 Subject: [PATCH] Make init return a promise to comply with Greenlock's expectations --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 3f2fe38..dc7c19f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -29,7 +29,7 @@ module.exports.create = function(config) { init: function(opts) { //request = opts.request; - return null; + return Promise.resolve(null); }, set: function(data) {