mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Merge pull request #9481 from appwrite/audits-timestamp-update
Update audit timestamp origin
This commit is contained in:
commit
1971126e7b
1 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ use Exception;
|
|||
use Throwable;
|
||||
use Utopia\Audit\Audit;
|
||||
use Utopia\CLI\Console;
|
||||
use Utopia\Database\DateTime;
|
||||
use Utopia\Database\Document;
|
||||
use Utopia\Database\Exception\Authorization;
|
||||
use Utopia\Database\Exception\Structure;
|
||||
|
|
@ -102,7 +101,7 @@ class Audits extends Action
|
|||
'mode' => $mode,
|
||||
'data' => $auditPayload,
|
||||
],
|
||||
'timestamp' => DateTime::formatTz(DateTime::now())
|
||||
'timestamp' => date("Y-m-d H:i:s", $message->getTimestamp()),
|
||||
];
|
||||
|
||||
if (isset($this->logs[$project->getInternalId()])) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue