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

created endpoint to get one attendee by id #47

Merged
merged 8 commits into from
Jan 17, 2025
Merged

Conversation

Oreo-cake
Copy link
Collaborator

No description provided.

@@ -84,7 +85,7 @@ func GetEvent(c *gin.Context) {
c.IndentedJSON(http.StatusBadRequest, nil) //bad data
return
}

fmt.Println("event", intEventID)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some stray logging that maybe can be removed?

setCors(c)

attendeeID := c.Param("attendeeID")
fmt.Println("attendee", attendeeID)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more stray debug logging here and right below that can be removed?

Copy link
Member

@dianaabishop dianaabishop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few fmt.Println()s that can/should probably be removed b/c I'm guessing they were adding for debugging efforts - but everything else looks good!

@Oreo-cake Oreo-cake merged commit 4c5b89a into main Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants