Skip to content

Commit

Permalink
deleted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
acao22 committed Jul 19, 2024
1 parent 624c78c commit a61dec3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions server/routes/answers.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ router.post(
i = 0;
while (i < result.length) {
if (item.statementId == result[i].statementId) {
// if (item.id < result[i].id) {
// return false;
// }
if (
new Date(item.createdAt).getTime() <
new Date(result[i].createdAt).getTime()
Expand Down
3 changes: 0 additions & 3 deletions server/routes/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ const calculateAgreementPercentage = async (statementIds) => {
i = 0;
while (i < answersForOneStatement.length) {
if (item.sessionId == answersForOneStatement[i].sessionId) {
// if (item.id < answersForOneStatement[i].id) {
// return false;
// }
if (
new Date(item.createdAt).getTime() <
new Date(answersForOneStatement[i].createdAt).getTime()
Expand Down

0 comments on commit a61dec3

Please sign in to comment.