(self, request, pk)
| 148 | ) |
| 149 | @action(detail=True, permission_classes=[IsAuthenticated]) |
| 150 | def projects(self, request, pk): # type: ignore[no-untyped-def] |
| 151 | organisation = self.get_object() |
| 152 | projects = organisation.projects.all() |
| 153 | return Response(ProjectListSerializer(projects, many=True).data) |
| 154 | |
| 155 | @action(detail=True, methods=["POST"]) |
| 156 | def invite(self, request, pk): # type: ignore[no-untyped-def] |
nothing calls this directly
no test coverage detected