Skip to content

Commit

Permalink
Merge pull request #215 from acdh-oeaw/fix/author-graph-keys
Browse files Browse the repository at this point in the history
fix: author-keyword edges should have key, not id
  • Loading branch information
csae8092 authored Mar 28, 2023
2 parents be6a97b + 867f654 commit 5381aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archiv/endpoint_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def render_to_response(self, context, **kwargs):
if kw_id in node_ids:
data["edges"].append(
{
"id": f"autor_{x.id}__keyword_{e.id}",
"key": f"autor_{x.id}__keyword_{e.id}",
"source": f"autor_{x.id}",
"target": kw_id,
}
Expand Down

0 comments on commit 5381aa9

Please sign in to comment.