fix(fastapi): returns icons as str rather that list of one icon
This commit is contained in:
parent
f8a81e25ac
commit
f10eb5d7a6
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ async def process_old_and_new_slides_and_fetch_assets(
|
|||
|
||||
for i, new_icon in enumerate(new_icons):
|
||||
if new_icons_fetch_status[i]:
|
||||
new_icon_dicts[i]["__icon_url__"] = new_icons[i]
|
||||
new_icon_dicts[i]["__icon_url__"] = new_icons[i][0]
|
||||
|
||||
for i, new_image_dict in enumerate(new_image_dicts):
|
||||
set_dict_at_path(new_slide_content, new_image_dict_paths[i], new_image_dict)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue