Skip to content

Fix Balance Field

Compare
Choose a tag to compare
@Uchencho Uchencho released this 22 Nov 05:04
· 6 commits to main since this release
17daa9d

The termii docs shows that the balance field in the auto-generated message response is an integer while in "real life", a float is returned. Rather than change the field to float, I decided to use the interface type so the user can use type assertion to convert the type to int/float rather than getting an error if termii decides to return an integer.