Axios get method returns NaN in numeric field instead of value #4981
Unanswered
marcin-bury
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have an Axiost GET request that that is supposed to return object from json. Among others the object contains numeric field "paymentCredit". The JSON returned from the server contains "paymentCredit":32 (checked in browser console), but Axios keeps returning NaN. It is quite strange since other numeric fields have proper values.
Any ideas where to look for the solution?
TIA
Marcin
Beta Was this translation helpful? Give feedback.
All reactions