From 245737b683ffd3ad62eef379d98b860c17a234ec Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 21 Dec 2023 19:49:38 +0100 Subject: [PATCH] fix API Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_mobile/api/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/stages/authenticator_mobile/api/device.py b/authentik/stages/authenticator_mobile/api/device.py index 12672278f..70fab32f1 100644 --- a/authentik/stages/authenticator_mobile/api/device.py +++ b/authentik/stages/authenticator_mobile/api/device.py @@ -39,7 +39,7 @@ class MobileDeviceInfoSerializer(PassiveSerializer): class MobileDeviceSerializer(DeviceSerializer): """Serializer for Mobile authenticator devices""" - last_checkin = MobileDeviceInfoSerializer(read_only=True) + state = MobileDeviceInfoSerializer(read_only=True) class Meta: model = MobileDevice