π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove commented code
vishnukvmd859af52c6468
diff --git a/server/pkg/controller/stripe.go b/server/pkg/controller/stripe.goindex 4b275fc474..0713a511bc 100644--- a/server/pkg/controller/stripe.go+++ b/server/pkg/controller/stripe.go@@ -539,8 +539,6 @@ func (c *StripeController) UpdateSubscription(stripeID string, userID int64) (enif newStripeSubscription.LatestInvoice.PaymentIntent.Status == stripe.PaymentIntentStatusRequiresAction {return ente.SubscriptionUpdateResponse{Status: "requires_action", ClientSecret: newStripeSubscription.LatestInvoice.PaymentIntent.ClientSecret}, nil} else if newStripeSubscription.LatestInvoice.PaymentIntent.Status == stripe.PaymentIntentStatusRequiresPaymentMethod {- // inv := newStripeSubscription.LatestInvoice- // client.Invoices.VoidInvoice(inv.ID, nil)return ente.SubscriptionUpdateResponse{Status: "requires_payment_method"}, nil} else if newStripeSubscription.LatestInvoice.PaymentIntent.Status == stripe.PaymentIntentStatusProcessing {return ente.SubscriptionUpdateResponse{Status: "success"}, nil