diff --git a/src/Observers/TeamObserver.php b/src/Observers/TeamObserver.php index 12a364b0..852997cc 100644 --- a/src/Observers/TeamObserver.php +++ b/src/Observers/TeamObserver.php @@ -31,7 +31,7 @@ public function created(Team $team) { app()[\Spatie\Permission\PermissionRegistrar::class]->forgetCachedPermissions(); - if(config('laravel-crm.teams')){ + if (config('laravel-crm.teams')) { // Get the roles foreach (DB::table('roles') ->where('crm_role', 1)