1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00: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

@@ -103,10 +103,7 @@ namespace Bit.Core.Utilities
MaxUsers = 5,
Price = 1,
Trial = new TimeSpan(14, 0, 0, 0),
Cycle = () => {
var now = DateTime.Now;
return now.AddYears(1) - now;
}
Cycle = now => now.AddYears(1) - now
},
new Plan
{
@@ -114,10 +111,7 @@ namespace Bit.Core.Utilities
MaxUsers = 5,
Price = 10,
Trial = new TimeSpan(14, 0, 0, 0),
Cycle = () => {
var now = DateTime.Now;
return now.AddMonths(1) - now;
}
Cycle = now => now.AddMonths(1) - now
}
};