diff --git a/src/Kanvas/Users/Actions/RemoveCompanyAction.php b/src/Kanvas/Users/Actions/RemoveCompanyAction.php index 137ed3365..c0585830c 100644 --- a/src/Kanvas/Users/Actions/RemoveCompanyAction.php +++ b/src/Kanvas/Users/Actions/RemoveCompanyAction.php @@ -35,6 +35,12 @@ public function __construct( */ public function execute(): void { + $this->company->associateUserApp( + $this->user, + $this->app, + StateEnums::YES->getValue(), + )->delete(); + $this->company->associateUser( $this->user, StateEnums::YES->getValue(),