Skip to content

Commit

Permalink
update search condition
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Apr 15, 2024
1 parent b2fb9d7 commit 66410ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo/src/aggregation/aggregation.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class AggregationResolver {
? { [orderCondition[0]]: orderCondition[1] }
: { startTime: Prisma.SortOrder.desc };
const resultCondition = results && results.length ? { result: { in: results } } : {};
const submitCondition = notsubmited ? { confirmedBlocks: { search: '!0x' } } : {};
const submitCondition = notsubmited ? { confirmedBlocks: { search: '-0x' } } : {};

return this.aggregationService.queryHistoryRecordFirst(
{
Expand Down

0 comments on commit 66410ff

Please sign in to comment.