Support individual “write to file” settings per book type, with configurable file size limits (#2206)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
@@ -529,13 +529,7 @@ export class BookService {
|
||||
}
|
||||
|
||||
uploadCoverFromUrl(bookId: number, url: string): Observable<BookMetadata> {
|
||||
return this.http
|
||||
.post<BookMetadata>(`${this.url}/${bookId}/metadata/cover/from-url`, {url})
|
||||
.pipe(
|
||||
tap(updatedMetadata =>
|
||||
this.handleBookMetadataUpdate(bookId, updatedMetadata)
|
||||
)
|
||||
);
|
||||
return this.http.post<BookMetadata>(`${this.url}/${bookId}/metadata/cover/from-url`, {url});
|
||||
}
|
||||
|
||||
regenerateCovers(): Observable<void> {
|
||||
|
||||
Reference in New Issue
Block a user