Skip to content

Commit

Permalink
fix condition in query FetchUserBidsPlaced
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed Feb 15, 2024
1 parent cf1361f commit dcdb9c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@graphql-codegen/typescript-react-apollo": "^4.1.0",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@next/bundle-analyzer": "^14.0.4",
"@nft/api-graphql": "^1.0.0-beta.52-prerelease-7",
"@nft/api-graphql": "^1.0.0-beta.52-prerelease-9",
"@types/nodemailer": "^6.4.14",
"@types/nprogress": "^0.2.3",
"@types/react": "^18.2.48",
Expand Down
2 changes: 1 addition & 1 deletion pages/users/[id]/bids/placed.gql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ query FetchUserBidsPlaced(
orderBy: $orderBy
first: $limit
offset: $offset
condition: { status: ACTIVE, makerAddress: $address }
condition: { statuses: [ACTIVE, EXPIRED], makerAddress: $address }

Check failure on line 11 in pages/users/[id]/bids/placed.gql

View workflow job for this annotation

GitHub Actions / lint

Field "statuses" is not defined by type "OfferCondition". Did you mean "status"?
includeWhenAssetDeleted: YES
includeWhenCurrencyDeleted: YES
) {
Expand Down

0 comments on commit dcdb9c0

Please sign in to comment.