Skip to content

Commit

Permalink
fix: rename RepayBorrowEvent type
Browse files Browse the repository at this point in the history
  • Loading branch information
cleivson committed Mar 16, 2023
1 parent 11d1352 commit 3393e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ enum CTokenEventType {
Mint
Redeem
Borrow
Repay
RepayBorrow
Liquidation
MarketEntered
MarketExited
Expand Down
2 changes: 1 addition & 1 deletion src/mappings/ctoken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export function handleRepayBorrow(event: RepayBorrow): void {
let repayAmount = repayAmountBD.truncate(market.underlyingDecimals);

let repay = new RepayEvent(repayID);
repay.type = 'Repay';
repay.type = 'RepayBorrow';
repay.market = market.id;
repay.blockNumber = event.block.number;
repay.blockTime = event.block.timestamp;
Expand Down

0 comments on commit 3393e40

Please sign in to comment.