PalisadoesFoundation / talawa

Community Organization Management Software. Click on the link below to see our documentation.
https://docs.talawa.io/
GNU General Public License v3.0
306 stars 434 forks source link

Event Attendees Not loading due faulty query #2463

Closed GlenDsza closed 2 months ago

GlenDsza commented 2 months ago

Describe the bug In the Event Page, the attendees for that specific events don't load, due to usage of registrantsByEvent query whose support was removed from API instead getEventAttendeesByEventId query resolvers should be used which was added in https://github.com/PalisadoesFoundation/talawa-api/issues/1644.

To Reproduce Steps to reproduce the behavior:

  1. Login to organization
  2. Open Events tab.
  3. Open a specific Event page.
  4. The attendees keep on loading due to no value being received as a result of wrong (old) query.

Expected behavior Attendees for the event must be rendered in Attendees section and "No attendees" if there are no attendees.

Actual behavior The Attendees section keep on loading (circular progress indicator) indefinitely.

Screenshots attendees

Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359

GlenDsza commented 2 months ago

I would like to work on this issue