Fixed a bug in KoreaderHash lookup
This commit is contained in:
parent
231db28a5e
commit
3b61fd2536
1 changed files with 1 additions and 2 deletions
|
@ -39,7 +39,6 @@ public class MangaFileRepository : IMangaFileRepository
|
||||||
if (string.IsNullOrEmpty(hash)) return null;
|
if (string.IsNullOrEmpty(hash)) return null;
|
||||||
|
|
||||||
return await _context.MangaFile
|
return await _context.MangaFile
|
||||||
.FirstOrDefaultAsync(f => !string.IsNullOrEmpty(f.KoreaderHash)
|
.FirstOrDefaultAsync(f => f.KoreaderHash != null && f.KoreaderHash.Equals(hash, System.StringComparison.CurrentCultureIgnoreCase));
|
||||||
&& f.KoreaderHash.Equals(hash, System.StringComparison.CurrentCultureIgnoreCase));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue