From 4425a02d325ea0063bd8a0a7b8a709db3bf5d8cf Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Thu, 5 Dec 2019 14:28:08 +0530 Subject: [PATCH] bug fix --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7de6c92..4ece46c 100644 --- a/index.html +++ b/index.html @@ -6796,10 +6796,10 @@ compactIDB.addData("credentials", shares[i], n).then(res => { resultIndexes.push(n) writeSharesToIDB(shares, i+1, resultIndexes) - .then(result => resolve(resolve)) + .then(result => resolve(result)) }).catch(error => { writeSharesToIDB(shares, i, resultIndexes) - .then(result => resolve(resolve)) + .then(result => resolve(result)) }) }) }