Skip to content

Commit

Permalink
fix: ignore nil mutations in sync server (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaboiishere committed Jun 28, 2024
1 parent e8c077f commit 078356f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ae_mdw/sync/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ defmodule AeMdw.Sync.Server do
mutations_map =
mutations
|> List.flatten()
|> Enum.reject(&is_nil/1)
|> Enum.frequencies_by(fn
%mod{} -> mod
end)
Expand Down

0 comments on commit 078356f

Please sign in to comment.