Mauricio Araujo 2 лет назад
Родитель
Сommit
d36bba427c

+ 0 - 1
api/server/handlers/billing/customer.go

@@ -59,7 +59,6 @@ func (c *CreateBillingCustomerHandler) ServeHTTP(w http.ResponseWriter, r *http.
 	if proj.UsageID == uuid.Nil {
 		// Create Metronome customer and add to starter plan
 		if c.Config().ServerConf.MetronomeAPIKey != "" && c.Config().ServerConf.PorterCloudPlanID != "" && proj.GetFeatureFlag(models.MetronomeEnabled, c.Config().LaunchDarklyClient) {
-
 			// Create Metronome Customer
 			if c.Config().ServerConf.MetronomeAPIKey != "" {
 				usageID, err := c.Config().BillingManager.MetronomeClient.CreateCustomer(user.CompanyName, proj.Name, proj.ID, proj.BillingID)

+ 0 - 1
api/server/handlers/project/create.go

@@ -102,7 +102,6 @@ func (p *ProjectCreateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
 
 	// Create Metronome customer and add to starter plan
 	if p.Config().ServerConf.MetronomeAPIKey != "" && p.Config().ServerConf.PorterCloudPlanID != "" && proj.GetFeatureFlag(models.MetronomeEnabled, p.Config().LaunchDarklyClient) {
-
 		// Create Metronome Customer
 		if p.Config().ServerConf.MetronomeAPIKey != "" {
 			usageID, err := p.Config().BillingManager.MetronomeClient.CreateCustomer(user.CompanyName, proj.Name, proj.ID, proj.BillingID)

+ 1 - 1
zarf/helm/.serverenv

@@ -77,4 +77,4 @@ STRIPE_PUBLISHABLE_KEY=
 METRONOME_API_KEY=
 
 # PORTER_CLOUD_PLAN_ID is the id of the starter plan in Metronome. Only used if METRONOME_API_KEY is set
-PORTER_CLOUD_PLAN_ID=
+PORTER_CLOUD_PLAN_ID=