aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r--python/fatcat_web/routes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 1eeab279..ab23c847 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -340,6 +340,7 @@ def work_view(ident):
def editgroup_view(ident):
try:
entity = api.get_editgroup(str(ident))
+ entity.editor = api.get_editor(entity.editor_id)
except ApiException as ae:
abort(ae.status)
return render_template('editgroup_view.html', editgroup=entity)
@@ -374,6 +375,7 @@ def changelog_view():
def changelog_entry_view(index):
try:
entry = api.get_changelog_entry(int(index))
+ entry.editgroup.editor = api.get_editor(entry.editgroup.editor_id)
except ApiException as ae:
abort(ae.status)
return render_template('changelog_view.html', entry=entry, editgroup=entry.editgroup)