mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: API statistics document_file_type_counts return type (#4464)
This commit is contained in:
parent
89757609c2
commit
10929e9ac8
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user