feat: Utilisation de l'API latest pour les ajouts récents - Changement de l'endpoint /books vers /books/latest - Mise à jour du titre 'Dernières lectures' en 'Ajouts récents'

This commit is contained in:
Julien Froidefond
2025-02-12 13:11:19 +01:00
parent 0483fee8cd
commit ca5b59fc66
2 changed files with 2 additions and 5 deletions

View File

@@ -26,12 +26,9 @@ export class HomeService extends BaseApiService {
media_status: "READY",
});
const recentlyReadUrl = this.buildUrl(config, "books", {
read_status: "READ",
sort: "readDate,desc",
const recentlyReadUrl = this.buildUrl(config, "books/latest", {
page: "0",
size: "20",
media_status: "READY",
});
const onDeckUrl = this.buildUrl(config, "books/ondeck", {