mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 21:13:10 +12:00
fix: don't pass an error tuple to rollback in bulk update (#1079)
This commit is contained in:
parent
45b76c209d
commit
09238490c4
1 changed files with 1 additions and 1 deletions
|
@ -1318,7 +1318,7 @@ defmodule Ash.Actions.Update.Bulk do
|
|||
if new_error_count != starting_error_count do
|
||||
Ash.DataLayer.rollback(
|
||||
resource,
|
||||
{:error, Enum.take(new_errors, new_error_count - starting_error_count)}
|
||||
Enum.take(new_errors, new_error_count - starting_error_count)
|
||||
)
|
||||
else
|
||||
result
|
||||
|
|
Loading…
Reference in a new issue