From 47a1fc62b96b39da530ea60eb808ee8a4698cb14 Mon Sep 17 00:00:00 2001
From: Jens Langhammer <jens@goauthentik.io>
Date: Thu, 21 Dec 2023 19:49:38 +0100
Subject: [PATCH] fix API

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---
 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