mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-24 01:06:17 +00:00
Fix these tests
This commit is contained in:
@@ -689,7 +689,7 @@ class ConsumerPlugin(
|
|||||||
|
|
||||||
if self.metadata.tag_ids:
|
if self.metadata.tag_ids:
|
||||||
for tag_id in self.metadata.tag_ids:
|
for tag_id in self.metadata.tag_ids:
|
||||||
document.add_nested_tags(Tag.objects.get(pk=tag_id))
|
document.add_nested_tags([Tag.objects.get(pk=tag_id)])
|
||||||
|
|
||||||
if self.metadata.storage_path_id:
|
if self.metadata.storage_path_id:
|
||||||
document.storage_path = StoragePath.objects.get(
|
document.storage_path = StoragePath.objects.get(
|
||||||
|
Reference in New Issue
Block a user