refactor(backend_server.py): adapt client's id after refactor
This commit is contained in:
@@ -267,7 +267,7 @@ class BackendServer:
|
|||||||
self.logger.warning(f"Client {client_id} not found")
|
self.logger.warning(f"Client {client_id} not found")
|
||||||
return None
|
return None
|
||||||
return {
|
return {
|
||||||
"id": client.mac_id,
|
"id": client.id,
|
||||||
"addr": client.addr,
|
"addr": client.addr,
|
||||||
"last_seen": client.last_seen,
|
"last_seen": client.last_seen,
|
||||||
"status": client.status,
|
"status": client.status,
|
||||||
|
|||||||
Reference in New Issue
Block a user