mirror of
https://github.com/ash-project/ash_csv.git
synced 2024-09-20 05:12:45 +12:00
chore: fix build
This commit is contained in:
parent
f1d2a4bc45
commit
97eef36bf5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue