Skip to content

Commit 2b165c7

Browse files
authoredAug 3, 2024
fix: strategy wrapper no longer throws on a null context, instead passing it to the actual strategy (#863)
1 parent e765340 commit 2b165c7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎src/Finbuckle.MultiTenant/Strategies/MultiTenantStrategyWrapper.cs

-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ public MultiTenantStrategyWrapper(IMultiTenantStrategy strategy, ILogger logger)
2020

2121
public async Task<string?> GetIdentifierAsync(object context)
2222
{
23-
if (context == null)
24-
{
25-
throw new ArgumentNullException(nameof(context));
26-
}
27-
2823
string? identifier = null;
2924

3025
try

0 commit comments

Comments
 (0)