Skip to content

Commit

Permalink
Revert "fix(e2e tests): add missing fields in select"
Browse files Browse the repository at this point in the history
This reverts commit d3916ed.
  • Loading branch information
fkrause98 committed Apr 23, 2024
1 parent d237471 commit b9d74a2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/api/src/balance/balance.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ export class BalanceService {
},
select: {
balance: true,
// We need this two other fields for the `where`.
address: true,
tokenAddress: true,
},
order: {
blockNumber: "DESC",
Expand All @@ -87,8 +84,6 @@ export class BalanceService {
const balancesQuery = this.balanceRepository.createQueryBuilder("balances");
balancesQuery.select("balances.address");
balancesQuery.addSelect("balances.balance");
balancesQuery.addSelect("balances.tokenAddress");
balancesQuery.addSelect("balances.blockNumber");
balancesQuery.innerJoin(
`(${latestBalancesQuery.getQuery()})`,
"latest_balances",
Expand Down

0 comments on commit b9d74a2

Please sign in to comment.