add new fields to rancher
This commit is contained in:
@@ -68,6 +68,7 @@ class POSDeviceViewSet(viewsets.ModelViewSet):
|
||||
"device_identity": device.device_identity,
|
||||
"serial": device.serial
|
||||
}, status=status.HTTP_200_OK)
|
||||
|
||||
return Response({
|
||||
"message": "device pre registered - unauthorized",
|
||||
"device_identity": device.device_identity,
|
||||
|
||||
Reference in New Issue
Block a user