fix small bug name of page

This commit is contained in:
fadingNA
2024-11-06 22:36:59 -05:00
parent df2f69e85f
commit 928303f27b

View File

@@ -488,7 +488,7 @@ class CombinedJson(Resource):
}
)
first_index = (int(page_number) - 1) * int(rows_per_page)
first_index = (int(page) - 1) * int(rows_per_page)
last_index = first_index + int(rows_per_page)
paginated_docs = data[first_index:last_index]