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

Add route to edit event details #191

Open
asmahood opened this issue Jan 18, 2023 · 0 comments
Open

Add route to edit event details #191

asmahood opened this issue Jan 18, 2023 · 0 comments
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development

Comments

@asmahood
Copy link
Member

asmahood commented Jan 18, 2023

Description

Executive members cannot edit the details of an event after it is created. If there are any errors in the event, a super admin needs to enter the database in order to fix these errors.

Add both an API endpoint + new edit page for events. The API endpoint should be respond to

// PATCH /events/<eventId>
// Not all arguments needed, only items that are being changed
{
  "name": "...",
  "format": "...",
  "notes": "...",
  "startDate": "..."
}

Note: An event should not be editable after it has ended. Respond with a 403 in this case.

@asmahood asmahood self-assigned this Jan 18, 2023
@asmahood asmahood transferred this issue from uwpokerclub/developer-hub Jul 27, 2023
@asmahood asmahood added type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development labels Oct 18, 2023
@asmahood asmahood removed their assignment Mar 24, 2024
@asmahood asmahood changed the title Add option to edit event details Add route to edit event details Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant