aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-01 15:03:14 -0500
committerAlexander_Kabui2024-08-28 15:02:46 +0300
commit249dc7110f3f20865e89462f080c6684fc7356af (patch)
tree0384bb05c9af73ce41b182cc36be48e2886c8f47 /gn2/wqflask/oauth2
parentde69de2d6570837ea47dba5d11308c56c8cd86fb (diff)
downloadgenenetwork2-249dc7110f3f20865e89462f080c6684fc7356af.tar.gz
bug: add missing `count_per_page` variable.
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r--gn2/wqflask/oauth2/resources.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/oauth2/resources.py b/gn2/wqflask/oauth2/resources.py
index b8d804f9..7ea7fe38 100644
--- a/gn2/wqflask/oauth2/resources.py
+++ b/gn2/wqflask/oauth2/resources.py
@@ -129,8 +129,10 @@ def view_resource(resource_id: UUID):
dataset_type = resource["resource_category"]["resource_category_key"]
return oauth2_get(f"auth/group/{dataset_type}/unlinked-data").either(
lambda err: render_ui(
- "oauth2/view-resource.html", resource=resource,
- unlinked_error=process_error(err)),
+ "oauth2/view-resource.html",
+ resource=resource,
+ unlinked_error=process_error(err),
+ count_per_page=count_per_page),
lambda unlinked: __unlinked_success__(resource, unlinked))
def __fetch_resource_data__(resource):