1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Fix audit delete bug

This commit is contained in:
Matej Bačo 2022-06-28 09:23:46 +00:00
parent ffd7463450
commit 11a0cc5658

View file

@ -79,8 +79,8 @@ class DeletesV1 extends Worker
break;
case DELETE_TYPE_AUDIT:
$timestamp = $payload['timestamp'] ?? 0;
$document = new Document($payload['document'] ?? []);
$timestamp = $this->args['timestamp'] ?? 0;
$document = new Document($this->args['document'] ?? []);
if (!empty($timestamp)) {
$this->deleteAuditLogs($this->args['timestamp']);