Skip to content

Commit

Permalink
Merge pull request #394 from bakaphp/development
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken authored May 23, 2023
2 parents 1d693fc + c056acd commit 867e568
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Kanvas/Users/Actions/RemoveCompanyAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 867e568

Please sign in to comment.