Skip to content

Commit

Permalink
Merge branch 'hotfix/1.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
dazinator committed Nov 6, 2017
2 parents f768b3f + 0e64f42 commit b799578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Dotnettency/TenantShell/TenantShellResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ public async Task<TenantShell<TTenant>> ResolveTenant(TenantDistinguisher identi
bool distinguisherFound = false;
foreach (var item in tenantResult.Distinguishers)
{
if (item == identifier)
if (item.Equals(identifier))
{
distinguisherFound = true;
continue;
}
_cache.AddOrUpdate(item, tenantResult, (a, b) => { return tenantResult; });
}
Expand Down

0 comments on commit b799578

Please sign in to comment.