From d771e90d0293b1e38d7810311191fa1d6e414e43 Mon Sep 17 00:00:00 2001 From: Ryan Albert Date: Fri, 23 Feb 2024 08:56:52 -0800 Subject: [PATCH] feat: update --- internal/git/git.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/git/git.go b/internal/git/git.go index 090ba7f9..bd96273d 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -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