Skip to content

Commit

Permalink
got rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguyinabeanie committed Dec 15, 2024
1 parent 913efb0 commit 16c8efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def tournament_name(organization:)
{ species: "Staryu", ability: "ability_6", position: 6, tera_type: "water", nature: "relaxed" }
]

tournament = create_tournament(name: tournament_name(organization:), organization:, format:, game: format.game, start_at:, end_at:).tap do |tour|
create_tournament(name: tournament_name(organization:), organization:, format:, game: format.game, start_at:, end_at:).tap do |tour|
# Preload profiles to avoid N1 queries
accounts_with_profiles = Account.includes(:default_profile)

Expand Down

0 comments on commit 16c8efe

Please sign in to comment.