Return first name of recent card scan
This commit is contained in:
parent
0f5dbee24b
commit
afcf1c3485
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user