Update deps

This commit is contained in:
2023-08-16 22:38:46 +02:00
parent 2b1f03c076
commit 3897884a96
4 changed files with 151 additions and 225 deletions

View File

@@ -63,5 +63,5 @@ pub async fn get_books(
("uploaded_lte", uploaded_lte)
];
_make_request(format!("/api/v1/books/base/").as_str(), params).await
_make_request("/api/v1/books/base/", params).await
}

View File

@@ -102,7 +102,7 @@ impl BookWithRemote {
let mut author_parts_len = 3;
for author_caption in author_captions {
if caption_title.len() + author_parts_len + author_caption.len() + 1 <= 1024 {
if caption_title.len() + author_parts_len + author_caption.len() < 1024 {
author_parts_len = author_caption.len() + 1;
author_parts.push(author_caption);
} else {