Skip to content

Report the correct fields when they are invalid in the vote and register API actions#88

Merged
lynn merged 2 commits into
toaq:mainfrom
Lilith-In-Starlight:fix-errors
Apr 15, 2026
Merged

Report the correct fields when they are invalid in the vote and register API actions#88
lynn merged 2 commits into
toaq:mainfrom
Lilith-In-Starlight:fix-errors

Conversation

@Lilith-In-Starlight

@Lilith-In-Starlight Lilith-In-Starlight commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Currently, when the vote field is invalid for the vote action in the API, the id field is reported in the error. The same happens for name in the register action, which is reported as id

ame and not id for invalid name
@Lilith-In-Starlight Lilith-In-Starlight changed the title Report the correct field when vote is invalid in the vote API action Report the correct fields when they are invalid in the vote and register API actions Apr 8, 2026
@lynn lynn merged commit 787a319 into toaq:main Apr 15, 2026
2 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