We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, so following Part 6 got me to my first error I couldn't solve yet.
In my BookmarksController.js my bookmark will always be null.
BookmarksController.js
bookmark
null
const {songID, userID} = req.query; const bookmark = await Bookmark.findOne({ where: { SongId: songID, UserId: userID } }); res.send(bookmark || {});
And my bookmark.json file looks like this:
[ { "SongId": 1, "UserId": 1 } ]
Can you maybe have a short look on the repo or do you have any clue why it does not find anything? https://github.com/akratzel/guitar-tabs/tree/dev
Maybe a sequelize version issue?
Thanks!
The text was updated successfully, but these errors were encountered:
i've the same issue, you solved?
Sorry, something went wrong.
Have you solved the issue? My query just takes the songId but not the userId so it always gives me 500 error. Tried few things, but none worked..
No branches or pull requests
Hi,
so following Part 6 got me to my first error I couldn't solve yet.
In my
BookmarksController.js
mybookmark
will always benull
.And my bookmark.json file looks like this:
Can you maybe have a short look on the repo or do you have any clue why it does not find anything? https://github.com/akratzel/guitar-tabs/tree/dev
Maybe a sequelize version issue?
Thanks!
The text was updated successfully, but these errors were encountered: