We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c78c2b3 commit 9534247Copy full SHA for 9534247
apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py
@@ -61,7 +61,8 @@ def save_image(image_list):
61
'application_id': str(application.id) if application.id else None,
62
'file_id': str(image.id)
63
}
64
- f = bytes_to_uploaded_file(image.meta['content'], image.file_name)
+ file_bytes = image.meta.pop('content')
65
+ f = bytes_to_uploaded_file(file_bytes, image.file_name)
66
FileSerializer(data={
67
'file': f,
68
'meta': meta,
0 commit comments