fix(NET-1175): use default trial end date

this "more recent" arbitrary date is needed for hubspot to consume exported data without throwing out of date range exeptions
This commit is contained in:
the_aceix
2024-05-03 12:52:37 +00:00
parent 715c3051a9
commit 5d02109252
2 changed files with 11 additions and 9 deletions

View File

@@ -21,9 +21,11 @@ var (
EgressesLimit = 1000000000
// FreeTier - specifies if free tier
FreeTier = false
// DefaultTrialEndDate - is a placeholder date for not applicable trial end dates
DefaultTrialEndDate, _ = time.Parse("2006-Jan-02", "2021-Apr-01")
GetTrialEndDate = func() (time.Time, error) {
return time.Time{}, nil
return DefaultTrialEndDate, nil
}
)