From 144976c40dd7e2cb8a750a7e2e7d44177da11841 Mon Sep 17 00:00:00 2001 From: Hannah Purcell <69368883+hannahpurcell@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:56:27 -0500 Subject: [PATCH] tweak: make a function private --- lib/skate/detours/detours.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/skate/detours/detours.ex b/lib/skate/detours/detours.ex index d82f2128f..d13c1dec3 100644 --- a/lib/skate/detours/detours.ex +++ b/lib/skate/detours/detours.ex @@ -135,7 +135,7 @@ defmodule Skate.Detours.Detours do def categorize_detour(_, _), do: nil @spec get_detour_route(detour :: map()) :: String.t() - def get_detour_route(%{state: %{"context" => %{"route" => %{"name" => route_name}}}}), + defp get_detour_route(%{state: %{"context" => %{"route" => %{"name" => route_name}}}}), do: route_name @doc """