diff --git a/lib/pears/persistence.ex b/lib/pears/persistence.ex index f914a773..d1fb3664 100644 --- a/lib/pears/persistence.ex +++ b/lib/pears/persistence.ex @@ -266,7 +266,9 @@ defmodule Pears.Persistence do |> Repo.update() end - @decorate trace("persistence.remove_track_from_team", include: [:team_name, :track_name, :error]) + @decorate trace("persistence.remove_track_from_team", + include: [:team_name, :track_name, :error] + ) def remove_track_from_team(team_name, track_name) do case get_team_by_name(team_name) do {:ok, team} -> diff --git a/lib/pears_web/live/pairing_board_live.ex b/lib/pears_web/live/pairing_board_live.ex index 05d36086..8c098a5d 100644 --- a/lib/pears_web/live/pairing_board_live.ex +++ b/lib/pears_web/live/pairing_board_live.ex @@ -99,7 +99,9 @@ defmodule PearsWeb.PairingBoardLive do end @impl true - @decorate trace("team_live.pear_selected", include: [:_team_name, :pear_name, :current_location]) + @decorate trace("team_live.pear_selected", + include: [:_team_name, :pear_name, :current_location] + ) def handle_event("pear-selected", params, socket) do _team_name = team_name(socket) pear_name = Map.get(params, "pear-name") @@ -209,7 +211,9 @@ defmodule PearsWeb.PairingBoardLive do {:noreply, unselect_pear(socket)} end - @decorate trace("team_live.move_pear", include: [:team_name, :pear_name, :from_track, :to_track]) + @decorate trace("team_live.move_pear", + include: [:team_name, :pear_name, :from_track, :to_track] + ) def handle_event("move-pear", params, socket) do team_name = team_name(socket) pear_name = Map.get(params, "pear")