Skip to content

Commit

Permalink
Merge pull request #3081 from ONSdigital/EAR-2259-saveComments-missin…
Browse files Browse the repository at this point in the history
…g-questionnaire-id

EAR-2259-saveComments-missing-questionnaire-id
  • Loading branch information
masiketlamelo authored Oct 17, 2023
2 parents 564fb4d + bc37622 commit 49a8a52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eq-author-api/migrations/updateCommentsReadByEditors.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ module.exports = async (questionnaire) => {
});
});

await saveComments(commentsData);
await saveComments({
questionnaireId: questionnaire.id,
comments: commentsData.comments,
});

return questionnaire;
};

0 comments on commit 49a8a52

Please sign in to comment.