i am doing GET api then specialized to model and i am getting this error, i am not sure what to do
json Link : https://api-zingmp3-vercel.vercel.app/api/home
i am doing GET api then specialized to model and i am getting this error, i am not sure what to do
json Link : https://api-zingmp3-vercel.vercel.app/api/home
2
Answers
You should cast the json item list before calling
forEach()
:Try changing the code above to A, B and C.
A
B
C