aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/resource_manager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/resource_manager.py b/wqflask/wqflask/resource_manager.py
index e0d2105f..94c9ba4f 100644
--- a/wqflask/wqflask/resource_manager.py
+++ b/wqflask/wqflask/resource_manager.py
@@ -150,8 +150,9 @@ def view_resource(resource_id: str):
return render_template(
"admin/manage_resource.html",
- resource_info=(embellished_resource:=add_extra_resource_metadata(
+ resource_info=(embellished_resource := add_extra_resource_metadata(
conn=redis_conn,
+ resource_id=resource_id,
resource=json.loads(resource))),
access_role=get_user_access_roles(
conn=redis_conn,