Skip to content

Fix appeal denial interaction and improve error handling - #14

Open
nin0-dev wants to merge 1 commit into
mantikafasi:mainfrom
freakyfres:main
Open

Fix appeal denial interaction and improve error handling#14
nin0-dev wants to merge 1 commit into
mantikafasi:mainfrom
freakyfres:main

Conversation

@nin0-dev

@nin0-dev nin0-dev commented Apr 4, 2026

Copy link
Copy Markdown
Contributor
  • Added required CustomID to TextInputComponent in AppealDenyTextComponent.
  • Fixed modules.GetAppeal to correctly return database errors.
  • Improved modules.AcceptAppeal and modules.DenyAppeal by adding .WherePK() to update queries and handling errors.
  • Added explicit JSON tags to InteractionsData struct for reliable unmarshaling.
  • Improved logging and error handling in routes.HandleInteractions.
  • Added safety check for modal submission components in routes.Interactions.
  • Verified build succeeds.

- Added required CustomID to TextInputComponent in AppealDenyTextComponent.
- Fixed modules.GetAppeal to correctly return database errors.
- Improved modules.AcceptAppeal and modules.DenyAppeal by adding .WherePK() to update queries and handling errors.
- Added explicit JSON tags to InteractionsData struct for reliable unmarshaling.
- Improved logging and error handling in routes.HandleInteractions.
- Added safety check for modal submission components in routes.Interactions.
- Verified build succeeds.

Co-authored-by: nin0-dev <75569739+nin0-dev@users.noreply.github.com>
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.

1 participant