Skip to content

Commit

Permalink
filter "test" market category when no category is passed (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogomartf authored Oct 24, 2024
1 parent 9d7b887 commit b6b2d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions queries/omen/markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ const getMarketsQuery = (
${params.resolutionTimestamp !== undefined ? 'resolutionTimestamp: $resolutionTimestamp' : ''}
${params.currentAnswerTimestamp_gt !== undefined ? 'currentAnswerTimestamp_gt: $currentAnswerTimestamp_gt' : ''}
${params.collateralToken_in !== undefined ? 'collateralToken_in: $collateralToken_in' : ''}
${!params.category_contains ? 'category_not_contains: "test"' : ''}
}
) {
...marketData
Expand Down

0 comments on commit b6b2d3c

Please sign in to comment.