mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-13 10:03:49 -05:00
Merge pull request #3212 from e1mo/fix-MixedContentTypeError
Fix MixedContentTypeError in add_inbox_tags handler
This commit is contained in:
commit
dccdebd2c0
@ -37,7 +37,7 @@ def add_inbox_tags(sender, document=None, logging_group=None, **kwargs):
|
|||||||
if document.owner is not None:
|
if document.owner is not None:
|
||||||
tags = get_objects_for_user_owner_aware(
|
tags = get_objects_for_user_owner_aware(
|
||||||
document.owner,
|
document.owner,
|
||||||
"documents.view_documenttype",
|
"documents.view_tag",
|
||||||
Tag,
|
Tag,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user