Sfoglia il codice sorgente

Fixed prefix for metronome customer

Mauricio Araujo 2 anni fa
parent
commit
0c25560b3d
1 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  1. 1 6
      internal/billing/metronome.go

+ 1 - 6
internal/billing/metronome.go

@@ -43,13 +43,8 @@ func (m MetronomeClient) createCustomer(ctx context.Context, orgName string, pro
 	path := "customers"
 	path := "customers"
 	projIDStr := strconv.FormatUint(uint64(projectID), 10)
 	projIDStr := strconv.FormatUint(uint64(projectID), 10)
 
 
-	prefix := "Project"
-	if orgName != "" {
-		prefix = orgName
-	}
-
 	customer := types.Customer{
 	customer := types.Customer{
-		Name: fmt.Sprintf("%s - %s", prefix, projectName),
+		Name: fmt.Sprintf("Project - %s", projectName),
 		Aliases: []string{
 		Aliases: []string{
 			projIDStr,
 			projIDStr,
 		},
 		},