The addDevice and removeDevice preference endpoints may be dead code now that bulkUpdateDevices is used on web.
Files with TODO comments:
src/server/api/routers/userPreferences.ts lines 22, 30
src/server/api/routers/mobile/preferences.ts lines 28, 36
Action required:
- Check all web and mobile clients to confirm whether
addDevice / removeDevice are called anywhere.
- If unused, deprecate and remove them.
- If still used (e.g., mobile), document the reason they are kept.
Requested by @Producdevity — related to PR #375
The
addDeviceandremoveDevicepreference endpoints may be dead code now thatbulkUpdateDevicesis used on web.Files with TODO comments:
src/server/api/routers/userPreferences.tslines 22, 30src/server/api/routers/mobile/preferences.tslines 28, 36Action required:
addDevice/removeDeviceare called anywhere.Requested by @Producdevity — related to PR #375