Fixed logs time attribute

This commit is contained in:
Eldad Fux committed 2021-06-12 21:39:59 +03:00
1 parent 00136969d2
commit f3ff50d686
4 files changed
+12 -4

No files matched your search

@@ -10,6 +10,12 @@ class Log extends Model
public function __construct()
{
$this
->addRule('userId', [
'type' => self::TYPE_STRING,
'description' => 'Event name.',
'default' => '',
'example' => 'account.sessions.create',
])
->addRule('event', [
'type' => self::TYPE_STRING,
'description' => 'Event name.',