@@ -25,15 +25,13 @@ class Index extends Component
|
||||
}
|
||||
$this->settings = instanceSettings();
|
||||
$this->alreadySubscribed = currentTeam()->subscription()->exists();
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function stripeCustomerPortal()
|
||||
{
|
||||
$session = getStripeCustomerPortalSession(currentTeam());
|
||||
if (is_null($session)) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
return redirect($session->url);
|
||||
|
||||
Reference in New Issue
Block a user