mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-06-26 15:24:18 +00:00
Try this way
This commit is contained in:
@@ -3867,7 +3867,7 @@ class _TasksViewSetSchema(AutoSchema):
|
||||
),
|
||||
)
|
||||
class TasksViewSet(ReadOnlyModelViewSet[PaperlessTask]):
|
||||
schema = _TasksViewSetSchema
|
||||
schema = _TasksViewSetSchema()
|
||||
permission_classes = (IsAuthenticated, PaperlessObjectPermissions)
|
||||
pagination_class = StandardPagination
|
||||
filter_backends = (
|
||||
|
||||
Reference in New Issue
Block a user