Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Feb 23, 2024
1 parent decb965 commit d771e90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,10 @@ Based on:
if accessAllowed, err := cli.CheckFreeUsageAccess(); err == nil && !accessAllowed {
warningDate := time.Date(2024, time.March, 18, 0, 0, 0, 0, time.UTC)
daysToLimit := int(math.Round(warningDate.Sub(time.Now().Truncate(24*time.Hour)).Hours() / 24))
body += fmt.Sprintf(`\n\n\n# 🚀 Time to Upgrade 🚀
You have exceeded the limit of one free generated SDK. Please reach out to the Speakeasy team in the next %d days to ensure continued access`, daysToLimit) + "\n\n"
body += fmt.Sprintf(`## 🚀 Time to Upgrade 🚀
You have exceeded the limit of one free generated SDK. Please reach out to the Speakeasy team in the next %d days to ensure continued access`, daysToLimit)
} else {
return err
}

const maxBodyLength = 65536
Expand Down

0 comments on commit d771e90

Please sign in to comment.