Changed GET /library/books to just fetch stored books.
This commit is contained in:
@ -76,6 +76,10 @@ export class BooksService {
|
||||
});
|
||||
}
|
||||
|
||||
async findBooks(): Promise<BookEntity[]> {
|
||||
return await this.bookRepository.find();
|
||||
}
|
||||
|
||||
async findActualBookStatusesTrackedBy(userId: UUID, series: SeriesDto): Promise<BookStatusEntity[]> {
|
||||
return await this.bookStatusRepository.createQueryBuilder('s')
|
||||
.innerJoin('s.book', 'b')
|
||||
|
Reference in New Issue
Block a user