fix: reindex device IP array before JSON encoding (#1045)
This commit is contained in:
parent
e074bef702
commit
9d125527cb
@ -162,7 +162,7 @@ class DeviceStateService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($ips)) {
|
if (!empty($ips)) {
|
||||||
$result[$userId] = array_unique($ips);
|
$result[$userId] = array_values(array_unique($ips));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user