Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix(rari-fuse): Remove reference to PositionService
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed May 25, 2022
1 parent b139dc3 commit e25c488
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { APP_TOOLKIT, IAppToolkit } from '~app-toolkit/app-toolkit.interface';
import { CompoundCToken } from '~apps/compound';
import { CompoundSupplyTokenDataProps } from '~apps/compound/helper/compound.supply.token-helper';
import { EthersMulticall as Multicall } from '~multicall/multicall.ethers';
import { PositionService } from '~position/position.service';
import { Network } from '~types';

import { RariFuseContractFactory } from '../contracts';
Expand All @@ -28,8 +27,6 @@ export class RariFuseLendingBalanceHelper {
constructor(
@Inject(RariFuseContractFactory)
private readonly rariFuseContractFactory: RariFuseContractFactory,
@Inject(PositionService)
private readonly positionService: PositionService,
@Inject(APP_TOOLKIT)
private readonly appToolkit: IAppToolkit,
) {}
Expand All @@ -53,7 +50,7 @@ export class RariFuseLendingBalanceHelper {
network,
});

const borrowPositions = await this.positionService.getAppContractPositions<CompoundSupplyTokenDataProps>({
const borrowPositions = await this.appToolkit.getAppContractPositions<CompoundSupplyTokenDataProps>({
appId,
groupIds: [borrowGroupId],
network,
Expand Down

0 comments on commit e25c488

Please sign in to comment.