mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
take last instead of first detected hash
This commit is contained in:
parent
4ca2419f46
commit
a486954248
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ namespace MareSynchronos.Models
|
|||
FileCache? fileCache;
|
||||
using (FileCacheContext db = new())
|
||||
{
|
||||
fileCache = db.FileCaches.FirstOrDefault(f => f.Filepath == path.ToLower());
|
||||
fileCache = db.FileCaches.LastOrDefault(f => f.Filepath == path.ToLower());
|
||||
}
|
||||
|
||||
if (fileCache != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue