mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
cycle takes parameters
This commit is contained in:
@ -53,7 +53,7 @@ namespace Bit.Core.Services
|
||||
}
|
||||
else if(plan.Cycle != null)
|
||||
{
|
||||
organization.PlanRenewalDate = DateTime.UtcNow.Add(plan.Cycle());
|
||||
organization.PlanRenewalDate = DateTime.UtcNow.Add(plan.Cycle(DateTime.UtcNow));
|
||||
}
|
||||
|
||||
await _organizationRepository.CreateAsync(organization);
|
||||
|
Reference in New Issue
Block a user