Skip to content

Commit

Permalink
tweak: credo fix (pipe)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Dec 11, 2024
1 parent 9608d5d commit 932fcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/skate/detours/detours.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule Skate.Detours.Detours do
%{
active: Map.get(detours, :active),
draft:
Map.get(detours, :draft) |> Enum.filter(fn detour -> detour.author_id == user_id end),
detours |> Map.get(:draft) |> Enum.filter(fn detour -> detour.author_id == user_id end),
past: Map.get(detours, :past)
}
end
Expand Down

0 comments on commit 932fcbd

Please sign in to comment.