Fix: API statistics document_file_type_counts return type (#4464)

This commit is contained in:
shamoon
2023-10-30 16:35:42 -07:00
committed by GitHub
parent 89757609c2
commit 10929e9ac8

View File

@@ -1001,7 +1001,7 @@ class StatisticsView(APIView):
.annotate(mime_type_count=Count("mime_type"))
.order_by("-mime_type_count")
if documents_total > 0
else 0
else []
)
character_count = (