mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Use SubListAPIView for RoleTeamsList
This commit is contained in:
@@ -3658,7 +3658,7 @@ class RoleUsersList(SubListCreateAttachDetachAPIView):
|
||||
return super(RoleUsersList, self).post(request, *args, **kwargs)
|
||||
|
||||
|
||||
class RoleTeamsList(SubListCreateAttachDetachAPIView):
|
||||
class RoleTeamsList(SubListAPIView):
|
||||
|
||||
model = Team
|
||||
serializer_class = TeamSerializer
|
||||
|
||||
Reference in New Issue
Block a user