Closed Madhawa97 closed 2 months ago
Hey @anjula-sack. Shall I work on this issue?
Sure go ahead! @Disura-Randunu
@Madhawa97, @anjula-sack Where can I find the documentation that needs to be updated?
Unit test for registration is failing because "profile" is null. But it's working as expected when the request is executed. (Profile returns in the body)
auth.service.ts : 44 - 48
await profileRepository.save(newProfile)
const savedProfile = await profileRepository.findOne({
where: { primary_email: email }
})
Might be becuase it takes some time for the DB to commit and "savedProfile" is empty at that time. Shall I change it as below?
const savedProfile = await profileRepository.save(newProfile)
@Disura-Randunu Can you send the PR, then let's see what's happening based on your changes
@anjula-sack added PR: https://github.com/sef-global/scholarx-backend/pull/167
Description: Ensure profile names are saved with the first letter of each word capitalized during sign-in, mentee, and mentor applications.
Tasks:
Acceptance Criteria:
Additional Information:
Related Dependencies or References: