Fix: Derive client_id from API token when not provided in /api/reports/last-sync
- When client_id is not provided, derive a unique client_id from the API token (token_{api_token.id})
- This ensures each API token has its own unique client identifier for sync purposes
- Fixes issue where client was receiving status for all clients instead of just itself
- Allows the server to correctly signal requires_full_sync=True when the database is empty for that specific client
Showing
Please
register
or
sign in
to comment