From 1d70d416f54d40ba385491e424aafb4e4b730595 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Fri, 20 Sep 2019 20:15:11 -0500 Subject: [PATCH] fix: storage manager test --- packages/element-lib/src/adapters/storage/storage-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/element-lib/src/adapters/storage/storage-manager.js b/packages/element-lib/src/adapters/storage/storage-manager.js index d13aa9fb..0b306374 100644 --- a/packages/element-lib/src/adapters/storage/storage-manager.js +++ b/packages/element-lib/src/adapters/storage/storage-manager.js @@ -27,7 +27,7 @@ class StorageManager { } async retryAllNotPersisted() { - const allUnPersisted = this.getNotPersisted(); + const allUnPersisted = await this.getNotPersisted(); await Promise.all( allUnPersisted.map(async (item) => { try {