1
0
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:
Kyle Spearrin
2017-03-08 22:33:31 -05:00
parent 8bcd4e0463
commit be5f388fa1
3 changed files with 4 additions and 10 deletions

View File

@ -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);