fix API
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
5db3c76570
commit
245737b683
|
@ -39,7 +39,7 @@ class MobileDeviceInfoSerializer(PassiveSerializer):
|
||||||
class MobileDeviceSerializer(DeviceSerializer):
|
class MobileDeviceSerializer(DeviceSerializer):
|
||||||
"""Serializer for Mobile authenticator devices"""
|
"""Serializer for Mobile authenticator devices"""
|
||||||
|
|
||||||
last_checkin = MobileDeviceInfoSerializer(read_only=True)
|
state = MobileDeviceInfoSerializer(read_only=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = MobileDevice
|
model = MobileDevice
|
||||||
|
|
Reference in New Issue