Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 27, 2024
1 parent 3a50f74 commit f50bcda
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/ash_phoenix/filter_form/filter_form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -570,12 +570,13 @@ defmodule AshPhoenix.FilterForm do
calc_name: calc.name,
source_context: %{}
) do
{:ok, %Ash.Query.Ref{
attribute: calc,
relationship_path: path,
resource: Ash.Resource.Info.related(resource, path),
input?: true
}}
{:ok,
%Ash.Query.Ref{
attribute: calc,
relationship_path: path,
resource: Ash.Resource.Info.related(resource, path),
input?: true
}}
else
{:error, error} ->
{:error, error}
Expand Down

0 comments on commit f50bcda

Please sign in to comment.