Skip to content

Commit

Permalink
adds the tracks manually
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdel committed Jun 5, 2024
1 parent e54fc75 commit 22e978c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pears/core/team.ex
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ defmodule Pears.Core.Team do
}
end

@decorate trace("team.choose_anchors",
include: [:team, [:team, :tracks], :updated_tracks]
)
@decorate trace("team.choose_anchors", include: [:team, :updated_tracks])
def choose_anchors(team) do
O11y.set_attributes(tracks: team.tracks)

updated_tracks =
team.tracks
|> Enum.map(fn {name, track} -> {name, Track.choose_anchor(track)} end)
Expand Down

0 comments on commit 22e978c

Please sign in to comment.