aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/entity_helpers.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 17:17:22 -0700
commit16126c5901c435ea6610eff8b7211226c6f125d5 (patch)
tree429a4772a4990e8158f0dbc9714b02c8b0412f07 /python/fatcat_web/entity_helpers.py
parentf1abe85e8c35a23122f65b47dd55d8135239cf93 (diff)
downloadfatcat-16126c5901c435ea6610eff8b7211226c6f125d5.tar.gz
fatcat-16126c5901c435ea6610eff8b7211226c6f125d5.zip
refactor all entities to new UI style
Diffstat (limited to 'python/fatcat_web/entity_helpers.py')
-rw-r--r--python/fatcat_web/entity_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/entity_helpers.py b/python/fatcat_web/entity_helpers.py
index b3cda67f..ab5eaea8 100644
--- a/python/fatcat_web/entity_helpers.py
+++ b/python/fatcat_web/entity_helpers.py
@@ -100,7 +100,7 @@ def generic_get_entity(entity_type, ident):
elif entity_type == 'release':
return enrich_release_entity(api.get_release(ident, expand="container,files,filesets,webcaptures"))
elif entity_type == 'work':
- return api.get_work(ident)
+ return enrich_work_entity(api.get_work(ident))
else:
raise NotImplementedError
except ApiException as ae: