Skip to content

Commit

Permalink
Return folder and image
Browse files Browse the repository at this point in the history
  • Loading branch information
vanatteveldt committed Feb 10, 2025
1 parent bcf8a26 commit 70a967b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions amcat4/api/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def index_to_dict(ix: index.Index) -> dict:
guest_role=index.Role(guest_role_int).name,
description=ix_dict.get("description", ""),
archived=ix_dict.get("archived", ""),
folder=ix_dict.get("folder", ""),
image_url=ix_dict.get("image_url", ""),
)
return ix_dict

Expand Down

0 comments on commit 70a967b

Please sign in to comment.