Skip to content
Snippets Groups Projects

Resolve "Complete Cooperative Cousine Terminal Command"

Merged Florian Schröder requested to merge 113-complete-cooperative-cousine-terminal-command into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • bf70afdc
    The update modifies the get_participant_game_connection method in the study server. Now, the method uses "Test" as the default host if the request client is None. This ensures that the functionality will not break when dealing with test or invalid client requests.
@@ -654,7 +654,7 @@ async def get_game_connection(
"""
player_info, level_info = study_manager.get_participant_game_connection(
participant_id, request.client.host
participant_id, request.client.host if request.client is not None else "Test"
)
return {"player_info": player_info, "level_info": level_info}
Loading