Skip to content

Commit a7a0274

Browse files
author
nasreenkhannam
committed
Fix queryset issue in ProjectViewSet
1 parent 8dd8662 commit a7a0274

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scanpipe/api/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ class ProjectViewSet(
136136
mixins.ListModelMixin,
137137
viewsets.GenericViewSet,
138138
):
139+
queryset = Project.objects.all()
140+
serializer_class = ProjectSerializer
139141
from rest_framework.response import Response
140142
from rest_framework import status
141143

0 commit comments

Comments
 (0)