mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Fix: API statistics document_file_type_counts return type (#4464)
This commit is contained in:
parent
89757609c2
commit
10929e9ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue