There was an error while loading. Please reload this page.
1 parent 4696a44 commit 996b9fdCopy full SHA for 996b9fd
1 file changed
vulnerabilities/api.py
@@ -129,6 +129,8 @@ class PackageViewSet(viewsets.ReadOnlyModelViewSet):
129
filter_backends = (filters.DjangoFilterBackend,)
130
filterset_class = PackageFilterSet
131
132
+ # `fetch` is a placeholder
133
+ # TODO: Find a good name for this endpoint
134
@action(detail=False, methods=["post"])
135
def fetch(self, request):
136
@@ -165,6 +167,8 @@ class VulnerabilityViewSet(viewsets.ReadOnlyModelViewSet):
165
167
166
168
filterset_class = VulnerabilityFilterSet
169
170
171
172
173
174
filter_list = Q()
0 commit comments