Skip to content
Snippets Groups Projects
Commit 26082d49 authored by Thibault Debatty's avatar Thibault Debatty
Browse files

fix json dashboard

parent e32e0c43
No related branches found
No related tags found
No related merge requests found
Pipeline #13275 passed
......@@ -62,7 +62,7 @@ class Server extends Model
return $failing_sensors;
}
public function getLastRecordTime() : int
public function getLastRecordTimeAttribute() : int
{
return $this->info()->lastRecordTime()->timestamp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment