API: Check-in response code for canceled

This commit is contained in:
Raphael Michel
2019-07-18 15:00:17 +02:00
parent a5ba7440fe
commit a99616b1e0
4 changed files with 27 additions and 4 deletions

View File

@@ -281,6 +281,7 @@ class CheckinListPositionViewSet(viewsets.ReadOnlyModelViewSet):
nonce=nonce,
datetime=dt,
questions_supported=self.request.data.get('questions_supported', True),
canceled_supported=self.request.data.get('canceled_supported', False),
user=self.request.user,
auth=self.request.auth,
)