fix: reindex device IP array before JSON encoding (#1045)

This commit is contained in:
asukassa 2026-08-30 01:07:37 +08:00 committed by GitHub
parent e074bef702
commit 9d125527cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@ class DeviceStateService
}
}
if (!empty($ips)) {
$result[$userId] = array_unique($ips);
$result[$userId] = array_values(array_unique($ips));
}
}
}