This commit is contained in:
Čarodej
2022-01-12 18:32:39 +01:00
parent d498446911
commit 3b34dc43ce
8 changed files with 58 additions and 28 deletions

View File

@@ -17,8 +17,6 @@ class RecordDownloadAction
'user_id' => $user_id,
]);
$record->update([
'download' => $record->download + $file_size,
]);
$record->increment('download', $file_size);
}
}