mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix: add timestamp_utc system varibale
This commit is contained in:
parent
23a7a217db
commit
161200df44
1 changed files with 4 additions and 1 deletions
|
|
@ -345,6 +345,9 @@ class Plugin extends Model
|
|||
'config' => $this->configuration ?? [],
|
||||
...(is_array($this->data_payload) ? $this->data_payload : []),
|
||||
'trmnl' => [
|
||||
'system' => [
|
||||
'timestamp_utc' => now()->utc()->timestamp,
|
||||
],
|
||||
'user' => [
|
||||
'utc_offset' => '0',
|
||||
'name' => $this->user->name ?? 'Unknown User',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue