Mauricio Araujo před 2 roky
rodič
revize
c0846b7443
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      api/server/handlers/billing/list.go

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

@@ -39,7 +39,6 @@ func (c *ListBillingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 	defer span.End()
 	defer span.End()
 
 
 	proj, _ := ctx.Value(types.ProjectScope).(*models.Project)
 	proj, _ := ctx.Value(types.ProjectScope).(*models.Project)
-	user, _ := ctx.Value(types.UserScope).(*models.User)
 
 
 	paymentMethods, err := c.Config().BillingManager.StripeClient.ListPaymentMethod(ctx, proj.BillingID)
 	paymentMethods, err := c.Config().BillingManager.StripeClient.ListPaymentMethod(ctx, proj.BillingID)
 	if err != nil {
 	if err != nil {