17fb3a258936f2488916eab17325df34990629ef
The sysadmin panel URL uses site.site_id (UUID string) not site.id (int PK).
All manager account endpoints were querying/expecting the integer PK — none matched.
- GET /by-site/{site_id}: param type str, filter by Site.site_id
- POST /register: site_ids type list[str], query Site.site_id.in_()
- DELETE /site-access: site_id type str, query Site.site_id
- schemas/manager.py: ManagerRegisterRequest.site_ids list[int] → list[str]
- SiteDetailPage.jsx: remove Number() casts on siteId in add/remove calls
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
This this is the Cloud Backend + Sysadmin panel, for the Xenia POS system
Languages
JavaScript
74.3%
Python
23.4%
Dockerfile
1%
HTML
0.9%
CSS
0.4%