@ -16,7 +16,7 @@ class DatasetCatalog(APIView):
permission_classes = [IsAuthenticated & IsProjectAdmin]
def get(self, request, *args, **kwargs):
project_id = request.query_params['project_id']
project_id = kwargs['project_id']
project = get_object_or_404(Project, pk=project_id)
options = Options.filter_by_task(project.project_type)
return Response(data=options, status=status.HTTP_200_OK)