Skip to content

Commit 0f13fc1

Browse files
committed
Fix bug with check store that makes json store not work.
1 parent bda344a commit 0f13fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Arctic.Puzzlers.Stores/Filestore/JsonCompetitionStore.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public Task<bool> Store(Competition competition)
6969
m_competitionList.Add(competition);
7070
return Task.FromResult(true);
7171
}
72-
else if (!m_competitionList.Any(t => t.Url == t.Url))
72+
else if (!m_competitionList.Any(t => t.Url == competition.Url))
7373
{
7474
m_competitionList.Add(competition);
7575
Task.FromResult(true);

0 commit comments

Comments
 (0)