sei-ec-remote / project-2-issues

1 stars 0 forks source link

Issues #403

Open ItsAlbi007 opened 8 months ago

ItsAlbi007 commented 8 months ago

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

image

image

image

What things have you already tried to solve the problem?

Paste a link to your repository here

https://github.com/ItsAlbi007/CryptoTracker

timmshinbone commented 8 months ago

Share both of your model files and a console log of the req.body from the post controller

ItsAlbi007 commented 8 months ago

image

ItsAlbi007 commented 8 months ago

image

ItsAlbi007 commented 8 months ago

is that the right one im not sure?

timmshinbone commented 8 months ago

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