Return first name of recent card scan

This commit is contained in:
Tanner Collin 2023-03-01 17:58:50 +00:00
parent 0f5dbee24b
commit afcf1c3485

View File

@ -632,6 +632,7 @@ class DoorViewSet(viewsets.ViewSet, List):
last_scan = dict( last_scan = dict(
time=time.time(), time=time.time(),
member_id=member.id, member_id=member.id,
first_name=member.preferred_name,
) )
cache.set('last_scan', last_scan) cache.set('last_scan', last_scan)