Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jan 5, 2025
1 parent b9449a3 commit 3204701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/enums.ex
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ defmodule Bonfire.Common.Enums do
|> map_filter_empty()
end

def struct_to_map(struct = %{__struct__: _type}, _true) do
def struct_to_map(struct = %{__struct__: _type}, true) do
struct_to_map(struct, false)
|> Enum.map(&struct_to_map(&1, true))
|> Map.new()
Expand Down

0 comments on commit 3204701

Please sign in to comment.