From 7c6c509313f8b1d80c1df6c0d3d83185a295d255 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 13 Aug 2016 13:54:07 -0600 Subject: [PATCH] promisify all of le-store- --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 843978f..40ab16d 100644 --- a/index.js +++ b/index.js @@ -98,6 +98,8 @@ LE.create = function (le) { le.store = le.store.create(le); } le.store = PromiseA.promisifyAll(le.store); + le.store.accounts = PromiseA.promisifyAll(le.store.accounts); + le.store.certificates = PromiseA.promisifyAll(le.store.certificates); le._storeOpts = le.store.getOptions(); Object.keys(le._storeOpts).forEach(function (key) { if (!(key in le)) {