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

POST Profile Preferences Endpoint #25

Merged
merged 6 commits into from
Sep 30, 2024
Merged

Conversation

ihysi2024
Copy link
Collaborator

Ticket: https://trello.com/c/QtIYsczM/8-crud-route-group-profiles

For { POST /api/profile/preferences } endpoint

Notifs bool `json:"notifs"` // is this part of the preferences?
}

func (p *Preferences) Validate() map[string]string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like this is a stub - Are you planning on adding form validation?

Copy link
Collaborator

@CamPlume1 CamPlume1 left a comment

Choose a reason for hiding this comment

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

1 small comment. Looks great!!

Copy link
Collaborator

@CamPlume1 CamPlume1 left a comment

Choose a reason for hiding this comment

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

Great work

Copy link
Collaborator

@CamPlume1 CamPlume1 left a comment

Choose a reason for hiding this comment

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

Reviewd

@CamPlume1 CamPlume1 self-requested a review September 30, 2024 01:07
@CamPlume1 CamPlume1 merged commit 3d76397 into main Sep 30, 2024
3 checks passed
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