|
|
@ -45,6 +45,7 @@ class AccountViewSet(OrgBulkModelViewSet):
|
|
|
|
accounts = asset.accounts.all()
|
|
|
|
accounts = asset.accounts.all()
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
accounts = []
|
|
|
|
accounts = []
|
|
|
|
|
|
|
|
accounts = self.filter_queryset(accounts)
|
|
|
|
serializer = serializers.AccountSerializer(accounts, many=True)
|
|
|
|
serializer = serializers.AccountSerializer(accounts, many=True)
|
|
|
|
return Response(data=serializer.data)
|
|
|
|
return Response(data=serializer.data)
|
|
|
|
|
|
|
|
|
|
|
|