fix: use pipe-friendly argument order in get_path!/1
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled

This commit is contained in:
Graham McIntire 2026-08-05 08:39:38 -05:00
parent ba9de7a522
commit 75211db2d9

View file

@ -124,7 +124,7 @@ defmodule Microwaveprop.RoverPlanning do
@doc "Fetches a single path by id or raises Ecto.NoResultsError." @doc "Fetches a single path by id or raises Ecto.NoResultsError."
@spec get_path!(Ecto.UUID.t()) :: Path.t() @spec get_path!(Ecto.UUID.t()) :: Path.t()
def get_path!(id), do: id |> Repo.get!(Path) |> Repo.preload([:rover_location, :station, :mission]) def get_path!(id), do: Path |> Repo.get!(id) |> Repo.preload([:rover_location, :station, :mission])
@doc """ @doc """
Reconciles the path matrix for a mission against the current set of Reconciles the path matrix for a mission against the current set of