v0.16-ACTAUL-V0.3
This commit is contained in:
1 parent
5a311d5174
commit
9627428caa
1 file changed
+1
-1
@@ -642,7 +642,7 @@ let mut resbooks: Vec<BookUI> = Vec::with_capacity(12);
|
||||
}
|
||||
|
||||
let res = PaginatedBookUIList{
|
||||
num_pages: (books.1/12) as u32,
|
||||
num_pages: (books.1/12+1) as u32,
|
||||
books: resbooks
|
||||
};
|
||||
return Json(res);
|
||||
|
||||
Reference in new issue
Block a user