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

revert server.json changes. does not improve performance

parent 523af56b
No related branches found
No related tags found
No related merge requests found
Pipeline #18593 passed
......@@ -46,6 +46,7 @@ class Server extends Model
// define attributes that can be appended when serializing to json
// used in OrganizationDashboardController@json
// https://laravel.com/docs/8.x/eloquent-serialization#appending-values-to-json
protected $appends = ['url', 'status', 'failing_sensors', 'last_record_time'];
public function getUrlAttribute() : string
{
......
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