Skip to content

Commit

Permalink
Fix #30
Browse files Browse the repository at this point in the history
  • Loading branch information
- authored and - committed Jun 17, 2022
1 parent c8c47a8 commit 0473cf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Starwatch.Core/API/Web/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ public Query(NameValueCollection collection) : base(collection.Count)

//Add them as "true" in our collection
for (int i = 0; i < values.Length; i++)
this.Add(values[i], "true");
{
if (!ContainsKey(values[i]))
Add(values[i], "true");
}
}
else
{
Expand Down

0 comments on commit 0473cf3

Please sign in to comment.