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
Some checks failed
Build and Push / Build and Push Docker Image (push) Has been cancelled
This commit is contained in:
parent
ba9de7a522
commit
75211db2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue