Fix audit delete bug
This commit is contained in:
parent
ffd7463450
commit
11a0cc5658
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ class DeletesV1 extends Worker
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DELETE_TYPE_AUDIT:
|
case DELETE_TYPE_AUDIT:
|
||||||
$timestamp = $payload['timestamp'] ?? 0;
|
$timestamp = $this->args['timestamp'] ?? 0;
|
||||||
$document = new Document($payload['document'] ?? []);
|
$document = new Document($this->args['document'] ?? []);
|
||||||
|
|
||||||
if (!empty($timestamp)) {
|
if (!empty($timestamp)) {
|
||||||
$this->deleteAuditLogs($this->args['timestamp']);
|
$this->deleteAuditLogs($this->args['timestamp']);
|
||||||
|
|
Loading…
Reference in a new issue