Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Nov 12, 2024
1 parent b2fb878 commit 992249f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cheqd-blockchain-modules/src/common/builders.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ export function createInternalCheqdModule(
const encodedDid = CheqdDid.from(did).toEncodedString();

do {
// eslint-disable-next-line operator-linebreak,no-unused-expressions
// eslint-disable-next-line operator-linebreak
({ resources, paginationKey } =
// eslint-disable-next-line no-await-in-loop
await filterError(
(await filterError(
this.apiProvider.sdk.querier.resource.collectionResources(
encodedDid,
paginationKey,
),
)) ?? { resources: [], paginationKey: null };
)) ?? { resources: [], paginationKey: null });

res = res.concat(resources.filter(cond));
} while (!stop(res) && paginationKey != null);
Expand Down

0 comments on commit 992249f

Please sign in to comment.