Skip to content

Commit 20be206

Browse files
committed
fix: folder updated_at was overwritten on every scan
1 parent 2a42e78 commit 20be206

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/Jobs/VerifyFolders.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ private function verifyFolders(TaskService $taskService) {
9797
}
9898

9999
if (! empty($changes)) {
100-
array_push($transactions, [...$stored, ...$changes, 'updated_at' => Carbon::now(config('app.timezone'))]);
100+
// Dont do this wtf 'updated_at' => Carbon::now(config('app.timezone'))
101+
array_push($transactions, [...$stored, ...$changes]);
101102
/**
102103
* DEBUG
103104
*

0 commit comments

Comments
 (0)