diff options
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/oauth2/groups.py | 2 | ||||
-rw-r--r-- | gn2/wqflask/oauth2/resources.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/oauth2/groups.py b/gn2/wqflask/oauth2/groups.py index fd5ab7eb..3223b932 100644 --- a/gn2/wqflask/oauth2/groups.py +++ b/gn2/wqflask/oauth2/groups.py @@ -141,7 +141,7 @@ def reject_join_request(): @require_oauth2 def group_role(group_role_id: uuid.UUID): """View the details of a particular role.""" - def __render_error(**kwargs): + def __render_error__(**kwargs): return render_ui("oauth2/view-group-role.html", **kwargs) def __gprivs_success__(role, group_privileges): diff --git a/gn2/wqflask/oauth2/resources.py b/gn2/wqflask/oauth2/resources.py index 7d20b859..b8ca21fb 100644 --- a/gn2/wqflask/oauth2/resources.py +++ b/gn2/wqflask/oauth2/resources.py @@ -82,7 +82,7 @@ def view_resource(resource_id: uuid.UUID): "oauth2/view-resource.html", resource=resource, unlinked_data=unlinked_data, users_n_roles=users_n_roles, this_user=this_user, group_roles=group_roles, - users_error=process_error(err)), + users_error=process_error(err), count_per_page=count_per_page), lambda users: __users_success__( resource, unlinked_data, users_n_roles, this_user, group_roles, users)) |