Skip to content

Commit b708e12

Browse files
authored
Merge pull request #1049 from Sidekick-Poe/feature/count-fix
Fixed stat filters causing wrong trade requests
2 parents 9b0025b + 81ad3e5 commit b708e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sidekick.Apis.Poe.Trade/Trade/Filters/Types/StatFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public override void PrepareTradeRequest(Query query, Item item)
110110
Definition = definition,
111111
TradeStat = tradeStat,
112112
}))
113-
.DistinctBy(x => x.TradeStat)
113+
.DistinctBy(x => x.TradeStat.Id)
114114
.ToList();
115115

116116
if (stats.Count > 1)

0 commit comments

Comments
 (0)