Skip to content

Commit 2a97685

Browse files
authored
Fix visibility (#361)
1 parent dafc98d commit 2a97685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/blueprints/spa_api/service_layers/replay/visibility.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def apply_game_visibility(query_params=None, game_id=None, game_exists=True,
4141
proto_game=None) -> Exception:
4242

4343
# if it is a custom lobby we should try and fake it being a private game so scrims are not published.
44-
if (not game_exists and proto_game is not None and proto_game.game_metadata.playlist == Playlist.CUSTOM_LOBBY
44+
if (not game_exists and proto_game is not None and proto_game.game_metadata.playlist == Playlist.CUSTOM_LOBBY.value
4545
and query_params is not None and 'player_id' in query_params):
4646
query_params = {'player_id': query_params['player_id'],
4747
'visibility': GameVisibilitySetting.PRIVATE}

0 commit comments

Comments
 (0)