fix: wrong calc

pull/21/head
db0 2023-09-12 01:27:30 +02:00
parent 01f0af3e4f
commit 209263e66c
1 changed files with 1 additions and 1 deletions

View File

@ -326,4 +326,4 @@ def get_reports(
page = page - 1 page = page - 1
if page < 1: if page < 1:
page = 1 page = 1
return query.order_by(Report.created.desc()).offset(10 * (page - 1)).limit(10).all() return query.order_by(Report.created.desc()).offset(10 * page).limit(10).all()