emile 11 months ago
parent 20f8027d01
commit 0258d3486d

@ -49,8 +49,7 @@ class OnlineUserConsumer(WebsocketConsumer):
customer_connections = [] customer_connections = []
staff_connections = [] staff_connections = []
for connection in sorted_connections: for connection in sorted_connections:
print('hi') staff_connections.append(connection)
event = { event = {
'type': 'online_user_connection_handler', 'type': 'online_user_connection_handler',
'staff_connections': staff_connections, 'staff_connections': staff_connections,

Loading…
Cancel
Save