From 7994f618f2f282cb3ae5fce7d83f5c15b2484c79 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 4 Jun 2025 10:41:07 -0400 Subject: [PATCH] remove _timeProvider --- .../OrganizationUsers/ImportOrganizationUserCommand.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ImportOrganizationUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ImportOrganizationUserCommand.cs index 1111d01f3c..4c5f7a1d4b 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ImportOrganizationUserCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ImportOrganizationUserCommand.cs @@ -29,7 +29,6 @@ public class ImportOrganizationUserCommand : IImportOrganizationUserCommand private readonly IOrganizationService _organizationService; private readonly IInviteOrganizationUsersCommand _inviteOrganizationUsersCommand; private readonly IPricingClient _pricingClient; - private readonly TimeProvider _timeProvider; private readonly EventSystemUser _EventSystemUser = EventSystemUser.PublicApi; @@ -41,8 +40,7 @@ public class ImportOrganizationUserCommand : IImportOrganizationUserCommand ICurrentContext currentContext, IOrganizationService organizationService, IInviteOrganizationUsersCommand inviteOrganizationUsersCommand, - IPricingClient pricingClient, - TimeProvider timeProvider + IPricingClient pricingClient ) { _organizationRepository = organizationRepository; @@ -54,7 +52,6 @@ public class ImportOrganizationUserCommand : IImportOrganizationUserCommand _organizationService = organizationService; _inviteOrganizationUsersCommand = inviteOrganizationUsersCommand; _pricingClient = pricingClient; - _timeProvider = timeProvider; } public async Task ImportAsync(Guid organizationId,