From 75211db2d9e52bbe10519ec36939b2ffecdc29dc Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 5 Aug 2026 08:39:38 -0500 Subject: [PATCH] fix: use pipe-friendly argument order in get_path!/1 --- lib/microwaveprop/rover_planning.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/microwaveprop/rover_planning.ex b/lib/microwaveprop/rover_planning.ex index ebb626f4..6d971dd8 100644 --- a/lib/microwaveprop/rover_planning.ex +++ b/lib/microwaveprop/rover_planning.ex @@ -124,7 +124,7 @@ defmodule Microwaveprop.RoverPlanning do @doc "Fetches a single path by id or raises Ecto.NoResultsError." @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 """ Reconciles the path matrix for a mission against the current set of