fix: goals route now finds devices by persistent DB ID, not connection UUID

This commit is contained in:
Sanju Sivalingam
2026-02-17 21:22:43 +05:30
parent 5b73e89217
commit fae5fd3534
4 changed files with 26 additions and 11 deletions

View File

@@ -122,6 +122,7 @@ export async function handleDeviceMessage(
// Register device in session manager
sessions.addDevice({
deviceId,
persistentDeviceId,
userId,
ws,
deviceInfo: msg.deviceInfo,