chore: fix invalid guard

This commit is contained in:
Zach Daniel 2023-04-05 18:38:34 -04:00
parent 1ecde072f0
commit cc01bd9b04

View file

@ -345,7 +345,7 @@ defmodule Ash.Filter do
refs
|> Enum.flat_map(fn
%{attribute: attribute, relationship_path: relationship_path}
when is_atom(attribute) || is_binary(attribute) ->
when is_atom(attribute) or is_binary(attribute) ->
[
NoSuchAttributeOrRelationship.exception(
attribute_or_relationship: attribute,