Skip to content

getBorrowUserData() variables are returning undefined #648

Answered by Equious
Equious asked this question in Q&A
Discussion options

You must be logged in to vote

Got it fixed. My parameter names were inaccurate.

The actual parametes are totalCollateralETH, totalDebtETH, and availableBorrowsETH .. I've a bad habit of typing Eth and mine were totalCollateralEth, totalDebtEth, and availableBorrowsEth.

Watch those variable names, people!

Mandatory community Discord shill, for those wanting to support each other through this course:

https://discord.gg/ajWmyZshjH

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Equious
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Equious
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants