update livemap to use rivets.js bindings for data updates
This commit is contained in:
@@ -19,6 +19,8 @@ class Pirep extends Resource
|
||||
{
|
||||
$pirep = parent::toArray($request);
|
||||
|
||||
$pirep['ident'] = $this->ident;
|
||||
|
||||
if ($this->distance instanceof Distance) {
|
||||
$pirep['distance'] = $this->distance->units;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user