From b84907ca535fceacadf4fa1e7eac3f6061107d4b Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 14 Apr 2026 15:50:28 +0200 Subject: [PATCH] Fix issue with image saving --- app/Services/BookService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/BookService.php b/app/Services/BookService.php index 59a6484c5..1fc2c196e 100644 --- a/app/Services/BookService.php +++ b/app/Services/BookService.php @@ -718,7 +718,7 @@ class BookService } } - $book['cover'] = $ri->saveImage($bookId, $book['coverurl'], $this->imgSavePath, 250, 250); + $book['cover'] = $ri->saveImage((string) $bookId, $book['coverurl'], $this->imgSavePath, 250, 250); } elseif ($this->echooutput) { cli()->header('Nothing to update: '). cli()->header($book['author'].