Fix for attachments url parsing loop
This commit is contained in:
parent
b81ba226eb
commit
423758f447
@ -366,7 +366,8 @@ def parse_attachments(response):
|
|||||||
l = generate_link(p['backend'], p['file_path'], str(p['project']))
|
l = generate_link(p['backend'], p['file_path'], str(p['project']))
|
||||||
# Build Markdown img string
|
# Build Markdown img string
|
||||||
l = ''.format(slug, l, f['name'])
|
l = ''.format(slug, l, f['name'])
|
||||||
response[field_name] = field_content.replace(slug_tag, l)
|
field_content = field_content.replace(slug_tag, l)
|
||||||
|
response[field_name] = field_content
|
||||||
|
|
||||||
|
|
||||||
app.on_fetched_item_nodes += before_returning_item_permissions
|
app.on_fetched_item_nodes += before_returning_item_permissions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user