chore: removed triage

This commit is contained in:
NarayanBavisetti 2023-11-23 21:10:51 +05:30
parent f20e26731c
commit 3b38435a4f
2 changed files with 2 additions and 3 deletions

View File

@ -371,7 +371,6 @@ class IssueListGroupedEndpoint(BaseAPIView):
issue_queryset = ( issue_queryset = (
Issue.objects.filter(workspace__slug=slug, project_id=project_id) Issue.objects.filter(workspace__slug=slug, project_id=project_id)
.filter(~Q(state="Triage"))
.select_related("project") .select_related("project")
.select_related("workspace") .select_related("workspace")
.select_related("state") .select_related("state")

View File

@ -78,7 +78,7 @@ class BaseViewSet(TimezoneMixin, ModelViewSet, BasePaginator):
if isinstance(e, ValidationError): if isinstance(e, ValidationError):
return Response( return Response(
{"error": "Please provide valid detail"}, {"error": "Please provide valid detail", "e":str(e)},
status=status.HTTP_400_BAD_REQUEST, status=status.HTTP_400_BAD_REQUEST,
) )
@ -167,7 +167,7 @@ class BaseAPIView(TimezoneMixin, APIView, BasePaginator):
if isinstance(e, ValidationError): if isinstance(e, ValidationError):
return Response( return Response(
{"error": "Please provide valid detail"}, {"error": "Please provide valid detail" ,"e":str(e)},
status=status.HTTP_400_BAD_REQUEST, status=status.HTTP_400_BAD_REQUEST,
) )