We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9a40a commit 6298ad2Copy full SHA for 6298ad2
src/middleware/queries/claims.ts
@@ -36,7 +36,9 @@ function createClaimsFilters(variables: ClaimsQueryFilter): {
36
}
37
if (!includeExpired) {
38
args.push('$expiryTimestamp: BigFloat');
39
- filters.push('filterExpiry: { lessThan: $expiryTimestamp } , expiry: { isNull: true }');
+ filters.push(
40
+ 'or: [{ expiry: { isNull: true } }, { filterExpiry: { greaterThan: $expiryTimestamp } }]'
41
+ );
42
43
44
if (claimTypes && !customClaimTypeIds) {
0 commit comments