Describe the bug
The registerForEvent mutation being used for register functionality was updated in Talawa API in https://github.com/PalisadoesFoundation/talawa-api/issues/1644 . Before update registerForEvent returned Event object, after update it returns EventAttendee object. Due to older implementation of registerForEvent the mutation fails.
To Reproduce
Steps to reproduce the behavior:
Login in a organiszation.
Open Events Tab
Open a specific event (where you've not already registered)
Click on register.
Error is displayed as No mutation occurs.
Expected behavior
On click of register button, user should be registered for the event.
Actual behavior
On click of register button, error is displayed due to failing mutation.
Describe the bug The
registerForEvent
mutation being used for register functionality was updated in Talawa API in https://github.com/PalisadoesFoundation/talawa-api/issues/1644 . Before updateregisterForEvent
returnedEvent
object, after update it returnsEventAttendee
object. Due to older implementation ofregisterForEvent
the mutation fails.To Reproduce Steps to reproduce the behavior:
Expected behavior On click of register button, user should be registered for the event.
Actual behavior On click of register button, error is displayed due to failing mutation.
Screenshots
https://github.com/PalisadoesFoundation/talawa/assets/109027247/899b8344-0c4e-4d91-bd83-38995c77fe6f
Additional details Part (pre-requisite) for Event Parity project
Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359