From 2437d2be779c3176dc23d1301fc7f560f0d1e4a0 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Sun, 14 Dec 2025 08:30:22 +0000 Subject: [PATCH] Upgrade audit and fix --- composer.lock | 8 ++++---- src/Appwrite/Platform/Workers/Audits.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 279ad2427b..e0633c82dc 100644 --- a/composer.lock +++ b/composer.lock @@ -3556,12 +3556,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/audit.git", - "reference": "bea15e59f63d1b0fceabf53bf73bed3962d176d5" + "reference": "a83dec21b3b9b7fc85fd8cf92563b2fd174a39cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/audit/zipball/bea15e59f63d1b0fceabf53bf73bed3962d176d5", - "reference": "bea15e59f63d1b0fceabf53bf73bed3962d176d5", + "url": "https://api.github.com/repos/utopia-php/audit/zipball/a83dec21b3b9b7fc85fd8cf92563b2fd174a39cb", + "reference": "a83dec21b3b9b7fc85fd8cf92563b2fd174a39cb", "shasum": "" }, "require": { @@ -3597,7 +3597,7 @@ "issues": "https://github.com/utopia-php/audit/issues", "source": "https://github.com/utopia-php/audit/tree/feat-db-3.x" }, - "time": "2025-12-14T06:56:09+00:00" + "time": "2025-12-14T08:29:40+00:00" }, { "name": "utopia-php/auth", diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index c64591632d..3349367adf 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -103,7 +103,7 @@ class Audits extends Action 'mode' => $mode, 'data' => $auditPayload, ], - 'timestamp' => date("Y-m-d H:i:s", $message->getTimestamp()), + 'time' => date("Y-m-d H:i:s", $message->getTimestamp()), ]; if (isset($this->logs[$project->getSequence()])) {