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

Fix deserialization error in AttendanceRecord struct #49

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

chimnayajith
Copy link
Contributor

@chimnayajith chimnayajith commented Mar 7, 2025

Fixed a bug in the AttendanceRecord struct that was causing "Failed to fetch attendance from Root" errors in the logs. The API response includes a "name" field, but I had accidentally left a #[serde(rename = "memberId")] annotation on the name field, causing deserialization to fail.

This PR simply removes the incorrect annotation so the struct properly maps to the API response.

@chimnayajith chimnayajith changed the title fix: Remove incorrect field rename in AttendanceRecord struct Fix deserialization error in AttendanceRecord struct Mar 7, 2025
@ivinjabraham ivinjabraham merged commit 39ea4ec into amfoss:develop Mar 7, 2025
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