Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mentees mentors count issue #490

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

adithyadinesh0412
Copy link
Contributor

No description provided.

@@ -1107,9 +1108,6 @@ module.exports = class MenteesHelper {
})
.filter((value) => value !== null)

// update count after filters
userDetails.data.result.count = userDetails.data.result.count
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adithyadinesh0412 why this line removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

userDetails already have count in it. And the count is not modified. We are using the count from userDetails.
It will be returned in the response.

if (req.searchText != '') {
let buff = new Buffer.from(req.searchText, 'base64')
req.searchText = buff.toString('ascii')
}
let x = containsSpecialChars(req.searchText)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this x as this is unused

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this emoji also

@joffinjoy joffinjoy merged commit 8be0ea4 into ELEVATE-Project:develop Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants