Describe the bug
When mentor_id to mentee_id is invalid Internal server error occurs (500)
To Reproduce
Steps to reproduce the behaviour:
"mentor_id": 0, or "mentee_id": 0.Expected behavior
Backend should return bad request with information that user with specific id does not exists
Additional context
AttributeError: 'tuple' object has no attribute 'name'
@isabelcosta Can i try this one?
Go ahead :) @srivastava9
@isabelcosta could you please review the pr :)
@isabelcosta I have again tested as you said could you review the pr once again. Thanks :)
I think this issue was fixed in pr #489 (as mentioned in #456).