Mauricio Araujo 2 лет назад
Родитель
Сommit
c0846b7443
1 измененных файлов с 0 добавлено и 1 удалено
  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()
 
 	proj, _ := ctx.Value(types.ProjectScope).(*models.Project)
-	user, _ := ctx.Value(types.UserScope).(*models.User)
 
 	paymentMethods, err := c.Config().BillingManager.StripeClient.ListPaymentMethod(ctx, proj.BillingID)
 	if err != nil {