Skip to content

Commit 49d0238

Browse files
author
Aishwarya Nair
committed
edit matchingController.js
1 parent 6e21697 commit 49d0238

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

MatchingService/controllers/matchingController.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ async function endSession(req, res, next) {
9090

9191
if (isEnded) {
9292
await res.status(200).json({ status: 'success', message: 'Session ended successfully' });
93-
await addUserAttemptToHistoryDatabase(sessionInfo.id1,
94-
sessionInfo.id2,
95-
sessionInfo.sessionId,
96-
sessionInfo.questionId);
9793

9894
} else {
9995
await res.status(500).json({ status: 'error', message: 'Failed to end session' });

0 commit comments

Comments
 (0)