Skip to content

Commit

Permalink
fix: actually set the strategy and store types on OnTenantResolvedCon…
Browse files Browse the repository at this point in the history
…text (#509)
  • Loading branch information
AndrewTriesToCode authored Jan 25, 2022
1 parent ef52fc2 commit fd9029e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Finbuckle.MultiTenant/TenantResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public TenantResolver(IEnumerable<IMultiTenantStrategy> strategies, IEnumerable<
result.StrategyInfo = new StrategyInfo { Strategy = strategy, StrategyType = strategy.GetType() };
result.TenantInfo = tenantInfo;

await options.CurrentValue.Events.OnTenantResolved(new TenantResolvedContext { Context = context, TenantInfo = tenantInfo });
await options.CurrentValue.Events.OnTenantResolved(new TenantResolvedContext { Context =
context, TenantInfo = tenantInfo, StrategyType = strategy.GetType(), StoreType = store.GetType()});

break;
}
Expand Down

0 comments on commit fd9029e

Please sign in to comment.