Describe the bug
When a user accepts a role-invite, he/she encounters a 400 error.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
It should've worked without any error
GIF

Desktop (please complete the following information):
Additional context
Working on it
The error trace :

@pradeepgangwar @CosmicCoder96 @ritikamotwani @iamareebjamal
The role-invite I accepted was of Moderator but since he won't have co-organisers access, he won't be able to access the event's details.
How about we also pass a "Role" name in the role-invite/accept-invite and if the accepted role is of other than organiser / co-organiser we simply re route them to the public page of the event?
@uds5501 Is it still present ?
@kushthedude Yes it does. But to get this done, I need to wait for mentor's reply
@uds5501 Go ahead
@iamareebjamal Perfect! I will get this done as soon I take down two issues in hand, won't take long!
