Add paginate

This commit is contained in:
gabatxo1312 2026-01-28 23:26:37 +01:00
commit 3454fb503d
No known key found for this signature in database
4 changed files with 99 additions and 14 deletions

View file

@ -36,7 +36,7 @@ pub async fn index(
.context(UserSnafu)?;
let books = BookOperator::new(state.clone())
.list(None)
.list()
.await
.context(BookSnafu)?;