diff --git a/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc b/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc index 5c2392fa..632fb0c8 100644 Binary files a/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc and b/osinaweb/osichat/__pycache__/consumers.cpython-310.pyc differ diff --git a/osinaweb/osichat/consumers.py b/osinaweb/osichat/consumers.py index 2381d4d4..0a418d31 100644 --- a/osinaweb/osichat/consumers.py +++ b/osinaweb/osichat/consumers.py @@ -35,7 +35,7 @@ class OsitcomVisitor(WebsocketConsumer): self.visitor = Visitor.objects.create( session_id = session_id, ip_address = text_data_json.get('client_ip'), - country = text_data_json.get('country'), + country = text_data_json.get('client_country'), ) self.current_log = VisitorLog.objects.create(