dev: fix issue

This commit is contained in:
pablohashescobar 2024-02-16 12:55:20 +05:30
parent 92663ee778
commit 453d4d9e3e

View File

@ -610,7 +610,7 @@ class IssueSerializer(DynamicBaseSerializer):
def get_module_ids(self, obj):
# Access the prefetched modules and extract module IDs
return obj.issue_module.values_list("module_id", flat=True)
return list(obj.issue_module.values_list("module_id", flat=True))
class IssueDetailSerializer(IssueSerializer):