Skip to content

Commit

Permalink
Fix updated timestamp not being updated (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3radicated authored Oct 19, 2023
1 parent 6676fa3 commit 13b4308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ private function convertRowToModel(mixed $row): Model

if ($result->usesTimestamps()) {
$createdAt = $result->getCreatedAtColumn();
$updatedAt = $result->getCreatedAtColumn();
$updatedAt = $result->getUpdatedAtColumn();

if (array_key_exists($createdAt, $row)) {
$result->{$createdAt} = $row[$createdAt];
Expand Down

0 comments on commit 13b4308

Please sign in to comment.