Expose throttled_until throttled_at to API users

pull/862/head
Rick Carlino 2018-05-22 09:23:20 -05:00
parent 85ec4c632c
commit d4bc1fd607
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
class DeviceSerializer < ActiveModel::Serializer
attributes :id, :name, :timezone, :last_saw_api, :last_saw_mq, :tz_offset_hrs,
:fbos_version
:fbos_version, :throttled_until, :throttled_at
end

View File

@ -76,6 +76,8 @@ export interface DeviceAccountSettings {
name: string;
timezone?: string | undefined;
tz_offset_hrs: number;
throttled_until?: string;
throttled_at?: string;
fbos_version?: string | undefined;
last_saw_api?: string | undefined;
last_saw_mq?: string | undefined;