Open ItsAlbi007 opened 8 months ago
Share both of your model files and a console log of the req.body from the post controller
is that the right one im not sure?
yeah, so, notice that req.body
is empty. And the error you're getting says 'no coinId'? Those two things are related. Share the form that you're using to send this request. It needs to have a form field input with the name 'coinId' just like it's spelled in your schema
What's the problem you're trying to solve?
the problem i am trying to solve is adding the coins i have selected to my watchlist i did make it work they do come up there but it gives me no information at all and i dont understand how should i go around that and fix it
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
What is your best guess as to the source of the problem?
My best guess is i need to assign every single coin but that will take my days to do so i am looking for another way to get that done
What things have you already tried to solve the problem?
Paste a link to your repository here
https://github.com/ItsAlbi007/CryptoTracker