add heels to api

This commit is contained in:
Stanley Dimant
2022-09-10 13:23:26 +02:00
parent 9bb99a5e68
commit 9dc1e901aa
3 changed files with 5 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ namespace MareSynchronos.API
public override bool Equals(object? otherObj)
{
if (otherObj == null || otherObj is not FileReplacementDto other) return false;
return Hash == other.Hash && Enumerable.SequenceEqual(GamePaths, other.GamePaths);
return Hash == other.Hash && Enumerable.SequenceEqual(GamePaths, other.GamePaths) && FileSwapPath == other.FileSwapPath;
}
public override int GetHashCode()