Skip to content

Commit

Permalink
schemas: expose radius to the console
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-ltd committed Nov 9, 2021
1 parent a8f4e8e commit d0a92b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions APITaxi2/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ def dump(self, obj, *args, **kwargs):
ret.update({
'operator': vehicle_description.added_by.email,
'status': vehicle_description.status,
'radius': vehicle_description.radius,
# last_update is the last time location has been updated by
# geotaxi.
'last_update': int(redis_location.update_date.timestamp()) if redis_location else None,
Expand Down

0 comments on commit d0a92b1

Please sign in to comment.