From 2b165c77db4f82244e33fe1823e865f30b2a3ea2 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Fri, 2 Aug 2024 22:32:41 -0600 Subject: [PATCH] fix: strategy wrapper no longer throws on a null context, instead passing it to the actual strategy (#863) --- .../Strategies/MultiTenantStrategyWrapper.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Finbuckle.MultiTenant/Strategies/MultiTenantStrategyWrapper.cs b/src/Finbuckle.MultiTenant/Strategies/MultiTenantStrategyWrapper.cs index 35019654..454dadb8 100644 --- a/src/Finbuckle.MultiTenant/Strategies/MultiTenantStrategyWrapper.cs +++ b/src/Finbuckle.MultiTenant/Strategies/MultiTenantStrategyWrapper.cs @@ -20,11 +20,6 @@ public MultiTenantStrategyWrapper(IMultiTenantStrategy strategy, ILogger logger) public async Task GetIdentifierAsync(object context) { - if (context == null) - { - throw new ArgumentNullException(nameof(context)); - } - string? identifier = null; try