Skip to content

Commit 1b7736a

Browse files
committed
fix: removes argument from PreviewUserPosition.projectedEarnings field
1 parent cd5937c commit 1b7736a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/cuddly-badgers-rule.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@aave/graphql": patch
3+
"@aave/react": patch
4+
"@aave/client": patch
5+
---
6+
7+
**fix:** removes `period` argument from `PreviewUserPosition.projectedEarnings` field.

packages/graphql/src/transactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export const PreviewUserPositionFragment = graphql(
282282
netBalance(currency: $currency) {
283283
...ExchangeAmountVariation
284284
}
285-
projectedEarnings(period: ANNUAL) {
285+
projectedEarnings {
286286
...ExchangeAmountVariation
287287
}
288288
borrowingPower {

0 commit comments

Comments
 (0)