Skip to content

Commit

Permalink
save status as mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed May 7, 2024
1 parent a9ee53e commit 9d8353c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def maybe_swap_with_thumbnail(
entry["root_url"] = (
client.get_file_url("").strip("/") + "/" + rv.folder.strip("/") + "/files"
)
entry["status"] = str(rv.info)
entry["status"] = rv.info.model_dump(mode="json")
try:
old_doi = rdf["config"]["_conceptdoi"]
except KeyError:
Expand Down

0 comments on commit 9d8353c

Please sign in to comment.