fix: module issue viewset typo (#349)

This commit is contained in:
pablohashescobar 2023-03-06 18:56:53 +05:30 committed by GitHub
parent cee8a6a8cd
commit 697e7f13b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ class ModuleIssueViewSet(BaseViewSet):
.distinct() .distinct()
) )
def list(self, request, slug, project_id, cycle_id): def list(self, request, slug, project_id, module_id):
try: try:
order_by = request.GET.get("order_by", "issue__created_at") order_by = request.GET.get("order_by", "issue__created_at")
queryset = self.get_queryset().order_by(order_by) queryset = self.get_queryset().order_by(order_by)