chore: fix build

This commit is contained in:
Zach Daniel 2022-11-03 10:22:32 -07:00
parent f1d2a4bc45
commit 97eef36bf5

View file

@ -500,7 +500,7 @@ defmodule AshCsv.DataLayer do
{to_destroy, records} = {to_destroy, records} =
Enum.split_with(records, fn record -> Map.take(record, upsert_keys) == upsert_values end) Enum.split_with(records, fn record -> Map.take(record, upsert_keys) == upsert_values end)
Enum.map(to_destroy, fn to_destroy -> destroy(resource, %{data: to_destroy}) end) Enum.each(to_destroy, fn to_destroy -> destroy(resource, %{data: to_destroy}) end)
records records
else else