diff options
author | Frederick Muriuki Muriithi | 2024-08-01 15:03:14 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-08-01 15:03:14 -0500 |
commit | 328ac119863e749b4531cbf56cf6b0623c037b0e (patch) | |
tree | bfba60145cb35dec8e5e6659e789855d8ed27bbc /gn2/wqflask | |
parent | c9063f5bde9a6163958a635b301d20a6323c874f (diff) | |
download | genenetwork2-328ac119863e749b4531cbf56cf6b0623c037b0e.tar.gz |
bug: add missing `count_per_page` variable.
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/oauth2/resources.py | 6 |
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): |