Эх сурвалжийг харах

Merge branch 'master' of ssh://gitlab.fuxicarbon.com:1111/client_service/voice-gateway-service

余尚辉 4 сар өмнө
parent
commit
a631f6779c

+ 1 - 1
src/core/callcenter/agent.py

@@ -333,7 +333,7 @@ class AgentMonitorService:
             data.heart_state = agent_monitor.heart_state
             data.heart_time = agent_monitor.heart_time.timestamp() if agent_monitor.heart_time else None
             data.update_time = agent_monitor.update_time.timestamp() if agent_monitor.update_time else None
-            res.append(data)
+            res.append(data.__dict__)
         return res
 
     def update_checkin(self, agent_monitor):