impermax-sdk 1.2.21 → 1.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -680,9 +680,9 @@ function fetchWhitelist() {
|
|
|
680
680
|
if (!subgraph)
|
|
681
681
|
return [];
|
|
682
682
|
const result = yield this.apolloFetcher(subgraph, query.whitelistQuery());
|
|
683
|
-
if (!result || !result.data.
|
|
683
|
+
if (!result || !result.data.whitelistStates)
|
|
684
684
|
return [];
|
|
685
|
-
return result.data.
|
|
685
|
+
return result.data.whitelistStates;
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
688
|
exports.fetchWhitelist = fetchWhitelist;
|