Skip to content

Commit

Permalink
fix no liquidity filter (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
TvrtkoM committed Aug 22, 2022
1 parent 2bf8be2 commit 2807efc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/sdk/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1032,10 +1032,6 @@ export default class Models {
const orderByQuery =
orderBy === "newest" ? `marketId_${orderingStr}` : `end_${orderingStr}`;

const timestamp = parseInt(
(await this.api.query.timestamp.now()).toString()
);

const variables = {
statuses,
tags,
Expand All @@ -1045,7 +1041,7 @@ export default class Models {
orderByQuery,
creator,
oracle,
minPoolId: liquidityOnly ? 0 : undefined,
minPoolId: liquidityOnly ? 0 : null,
marketIds,
assets,
};
Expand Down

0 comments on commit 2807efc

Please sign in to comment.