Explicitly store whether checkins were offline (#2617)

This commit is contained in:
Raphael Michel
2022-05-17 14:32:14 +02:00
committed by GitHub
parent 074252a9c0
commit 08590f9d98
7 changed files with 38 additions and 3 deletions

View File

@@ -157,6 +157,7 @@ class CheckinListViewSet(viewsets.ModelViewSet):
list=self.get_object(),
successful=False,
forced=True,
force_sent=True,
device=self.request.auth if isinstance(self.request.auth, Device) else None,
gate=self.request.auth.gate if isinstance(self.request.auth, Device) else None,
**kwargs,