Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fetch single event with all attendees #45 #56

Merged

Conversation

estherbreath
Copy link
Contributor

New Controller Method:

  • Created the fetchSingleEventDetails method to:
    • Fetch event details by event_id.
    • Include attendees from the attendees field.
    • Return a success or failure response based on the outcome.

New Endpoint:

  • GET /:event_id/details: Fetch event details along with attendees.

Error Handling:

  • Returns a 404 Not Found if the event does not exist.
  • Handles server errors with appropriate 500 Internal Server Error responses.

@estherbreath estherbreath changed the title feat: fetch single event with all attendees #46 feat: fetch single event with all attendees #45 Nov 25, 2024
@mubarak23 mubarak23 merged commit 4593ca0 into mubarak23:main Nov 26, 2024
2 checks passed
@mubarak23 mubarak23 self-requested a review November 26, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants