Skip to content
Snippets Groups Projects
Commit ca274fe3 authored by Bastien's avatar Bastien
Browse files

fix addMovieNote

parent 82277df3
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ exports.addMovieNote = (req, res, next) => {
if (checkMovieNoteExist(username, filmId)) {
db.query('UPDATE Filmvue SET note=? WHERE login=? and tconst=?', [note, username, id],
db.query('UPDATE Filmvue SET note=? WHERE login=? and tconst=?', [note, username, filmId],
function (error, results, fields) {
if (error == null) {
res.status(200).json({ message: 'Film préféré modifié' });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment