1
0
mirror of https://github.com/C9Glax/tranga-website.git synced 2025-04-29 19:52:28 +02:00

Wrong return value

This commit is contained in:
glax 2023-05-25 14:38:43 +02:00
parent 4772ae0756
commit 750df4ed52

@ -305,7 +305,7 @@ public class MangaDex : Connector
string saveImagePath = Path.Join(imageCachePath, filename); string saveImagePath = Path.Join(imageCachePath, filename);
if (File.Exists(saveImagePath)) if (File.Exists(saveImagePath))
return saveImagePath; return filename;
DownloadClient.RequestResult coverResult = downloadClient.MakeRequest(url, (byte)RequestType.AtHomeServer); DownloadClient.RequestResult coverResult = downloadClient.MakeRequest(url, (byte)RequestType.AtHomeServer);
using MemoryStream ms = new(); using MemoryStream ms = new();