Skip to content
Merged
7 changes: 3 additions & 4 deletions Backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Backend/src/controllers/registration.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const addManualRegistration = asyncHandler(async (req, res) => {

// Check if studentId already exists (excluding REJECTED)
const existingRegistration = await StudentRegistration.findOne({
studentId,
studentId: { $eq: studentId },
status: { $in: ['PENDING', 'APPROVED'] },
});
if (existingRegistration) {
Expand Down
Loading