fix(calendar): /auth/users path + Z-suffix appointment timestamps #65
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
psa-systems/mokosh-apps!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/calendar-fetch-paths-and-tz-encoding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two failures on
/calendar:GET /api/v1/users?per_page=100returned 404. The mokosh-server users CRUD lives at/api/v1/auth/users(nested under the auth router); the SPA had been calling the wrong path.GET /api/v1/calendar/appointments?from=...&to=...returned 400.DateTime::<Utc>::to_rfc3339()emits2026-05-31T04:00:00+00:00, and the literal+in a query string URL-decodes to a space, so the server's chrono parser saw2026-05-31T04:00:00 00:00and rejected the request. Switch toto_rfc3339_opts(SecondsFormat::Secs, true)which emits theZsuffix and round-trips cleanly without percent-encoding.Both bugs surfaced together because the calendar page issues both calls on first mount.