Skip to content

Commit

Permalink
Add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jul 23, 2024
1 parent 5772d42 commit c3fdb75
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/Providers/JetstreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,20 @@ public function register(): void
public function boot(): void
{
$this->configurePermissions();

Jetstream::createTeamsUsing(CreateTeam::class);
Jetstream::updateTeamNamesUsing(UpdateTeamName::class);
Jetstream::addTeamMembersUsing(AddTeamMember::class);
Jetstream::inviteTeamMembersUsing(InviteTeamMember::class);
Jetstream::removeTeamMembersUsing(RemoveTeamMember::class);
Jetstream::deleteTeamsUsing(DeleteTeam::class);
Jetstream::deleteUsersUsing(DeleteUser::class);

// Use our modified CreatePersonalTeam listener
\Illuminate\Support\Facades\Event::listen(
\Illuminate\Auth\Events\Registered::class,
\App\Listeners\CreatePersonalTeam::class
);
}

/**
Expand Down

0 comments on commit c3fdb75

Please sign in to comment.