Skip to content

Commit

Permalink
Fixed the Chugthai downloader Linux issue
Browse files Browse the repository at this point in the history
  • Loading branch information
umerfaruk committed Sep 11, 2024
1 parent bb82962 commit 0527d21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Inshapardaz.Api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"Database": {
"DatabaseConnectionType": "MySql",
"ConnectionString": "Server=127.0.0.1;Database=nawishta;Uid=root;Pwd=Passw0rd;SslMode=none;"
"ConnectionString": "Server=localhost;Database=nawishta;Uid=root;Pwd=Passw0rd;SslMode=none;"
},
"Storage": {
"FileStoreType": "FileSystem"
Expand Down
2 changes: 1 addition & 1 deletion src/Inshapardaz.Domain/Inshapardaz.Domain.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
<PackageReference Include="Chughtai.Downloader" Version="1.0.0.13" />
<PackageReference Include="Chughtai.Downloader" Version="1.0.0.14" />
<PackageReference Include="DocumentFormat.OpenXml" Version="3.0.2" />
<PackageReference Include="HtmlToOpenXml.dll" Version="2.4.2" />
<PackageReference Include="MailKit" Version="4.5.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public DownloadChugtaiBookRequestHandler(
if (book != null)
{
var bookContents = await _bookRepository.GetBookContents(_settings.DefaultLibraryId, book.Id, cancellationToken);
if (command.CreatePdf)
if (_saveBook && command.CreatePdf)
{
if (bookContents.Any(c => c.MimeType == MimeTypes.Pdf))
{
Expand Down

0 comments on commit 0527d21

Please sign in to comment.