Skip to content

Commit

Permalink
fix provider-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
paaragon committed Feb 19, 2025
1 parent 8d09251 commit 15779e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions gateway/api/v1/views/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def list(self, request):
operation_description="List provider Jobs",
responses={status.HTTP_200_OK: v1_serializers.JobSerializer(many=True)},
)
@action(methods=["GET"], detail=False, url_path="provider")
def provider_list(self, request):
return super().provider_list(request)

Expand Down
1 change: 0 additions & 1 deletion gateway/api/views/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def list(self, request):
serializer = self.get_serializer_job_without_result(queryset, many=True)
return Response(serializer.data)

@action(methods=["GET"], detail=False, url_path="provider")
def provider_list(self, request):
"""
It returns a list with the jobs for the provider function:
Expand Down

0 comments on commit 15779e7

Please sign in to comment.