Skip to content

Commit

Permalink
Omnichannel Monitor - Fix context
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanogueira committed Aug 29, 2022
1 parent 71ba744 commit cc081e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rocket_connect/instance/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ def server_monitor_view(request, server_id):
else:
open_rooms = server.get_open_rooms(sort='{"department.name": 1}')
# enhance open_rooms dates
open_rooms = open_rooms["rooms"]
for idx, room in enumerate(open_rooms):
lm = datetime.datetime.strptime(room["lm"], "%Y-%m-%dT%H:%M:%S.%fZ")
ts = datetime.datetime.strptime(room["ts"], "%Y-%m-%dT%H:%M:%S.%fZ")
Expand Down

0 comments on commit cc081e2

Please sign in to comment.