Browse Source

Update API URL in UserProfileIntegration constructor

master
Matteo Benedetto 4 months ago
parent
commit
59258258c4
  1. 2
      engine/user_profile_integration.py

2
engine/user_profile_integration.py

@ -15,7 +15,7 @@ from engine.score_api_client import ScoreAPIClient
class UserProfileIntegration: class UserProfileIntegration:
"""Integration layer between the game and profile system""" """Integration layer between the game and profile system"""
def __init__(self, profiles_file="user_profiles.json", api_url="http://localhost:8000"): def __init__(self, profiles_file="user_profiles.json", api_url="http://172.27.23.245:8000"):
self.profiles_file = profiles_file self.profiles_file = profiles_file
self.current_profile = None self.current_profile = None
self.device_id = self.generate_device_id() self.device_id = self.generate_device_id()

Loading…
Cancel
Save