feat: front update
This commit is contained in:
parent
7303d63198
commit
4f4f86fb91
@@ -23,7 +23,9 @@ export class ApiMangaRepository {
|
||||
item.publicationYear,
|
||||
item.genres,
|
||||
item.status,
|
||||
item.rating
|
||||
item.rating,
|
||||
item.description,
|
||||
item.createdAt
|
||||
));
|
||||
|
||||
return new MangaCollection(
|
||||
@@ -55,7 +57,8 @@ export class ApiMangaRepository {
|
||||
item.genres,
|
||||
item.status,
|
||||
item.rating,
|
||||
item.description
|
||||
item.description,
|
||||
item.createdAt
|
||||
));
|
||||
} catch (error) {
|
||||
console.error('Error searching mangas:', error);
|
||||
@@ -90,7 +93,8 @@ export class ApiMangaRepository {
|
||||
genres: mangaData.genres,
|
||||
status: mangaData.status,
|
||||
rating: mangaData.rating,
|
||||
description: mangaData.description
|
||||
description: mangaData.description,
|
||||
createdAt: mangaData.createdAt
|
||||
}, chapters);
|
||||
} catch (error) {
|
||||
console.error('Error fetching manga details:', error);
|
||||
|
||||
Reference in New Issue
Block a user