take last instead of first detected hash
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user