[boardgames] Add visibility to lichess imports

This commit is contained in:
2026-06-11 10:02:37 -04:00
parent 0a880a2f2f
commit 25626be3b6
2 changed files with 6 additions and 1 deletions

View File

@ -103,6 +103,7 @@ def import_chess_games_for_user_id(user_id: int, commit: bool = False) -> dict:
"source": "Lichess",
"timezone": user.profile.timezone,
"log": log_data,
"visibility": "private",
}
if commit:
Scrobble.objects.create(**scrobble_dict)