mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 05:18:44 +00:00
fix small bug name of page
This commit is contained in:
1 parent
df2f69e85f
commit
928303f27b
1 file changed
+1
-1
@@ -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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user