refresh_collections: Use coll.json_summary for error generation

master
Felix Stupp 9 months ago
parent 7f7971b9e6
commit 0ab972bbf5
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -779,11 +779,7 @@ def refresh_collections() -> ResponseReturnValue:
orm.rollback()
errors.append(
{
"collection": {
"id": coll.id,
"title": coll.title,
"uri": coll.primary_uri,
},
"collection": coll.json_summary,
"error": gen_api_error(e),
},
)

Loading…
Cancel
Save