add & fix stakr holeders default
This commit is contained in:
@@ -238,6 +238,7 @@ class DeviceAssignmentViewSet(viewsets.ModelViewSet, SoftDeleteMixin):
|
||||
assignment=assignment,
|
||||
device=assignment.device,
|
||||
organization=assignment.client.organization,
|
||||
default=True
|
||||
)
|
||||
|
||||
return Response(serializer.data, status=status.HTTP_201_CREATED)
|
||||
|
||||
Reference in New Issue
Block a user