acmucsd / membership-portal

REST API for the UC San Diego ACM chapter's membership portal.
https://members.acmucsd.com
Mozilla Public License 2.0
17 stars 5 forks source link

Better error message for event deletion when event has attendances #410

Closed echang594 closed 8 months ago

echang594 commented 9 months ago

Info

Closes #199.

Description

What changes did you make? List all distinct problems that this PR addresses. Explain any relevant motivation or context.

Throw error when trying to delete event with attendances.

Changes

Type of Change

If you've selected Patch, Minor, or Major as your change type, make sure to bump the version before merging in package.json!

Testing

I have tested that my changes fully resolve the linked issue ...

Checklist

Screenshots

Screenshot 2024-02-27 at 5 49 36 PM

The event uuid above is one that has attendances.

github-actions[bot] commented 9 months ago

Thanks for contributing! If you've made changes to the API's functionality, please make sure to bump the package version—see this guide to semantic versioning for details—and document those changes as appropriate.