Quellcode durchsuchen

fix(permissions): remove redundant label assignment in SyncAndreiaPermissions command

alvesantos vor 1 Woche
Ursprung
Commit
5ca368f5c0
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      app/Console/Commands/SyncAndreiaPermissions.php

+ 0 - 1
app/Console/Commands/SyncAndreiaPermissions.php

@@ -69,7 +69,6 @@ public function handle()
                         'system_key' => $templateRole->system_key,
                         'system_key' => $templateRole->system_key,
                         'scope_key' => "unit:{$unit->id}",
                         'scope_key' => "unit:{$unit->id}",
                         'slug' => \Illuminate\Support\Str::slug($templateRole->label . '-' . $unit->id),
                         'slug' => \Illuminate\Support\Str::slug($templateRole->label . '-' . $unit->id),
-                        'label' => $templateRole->label,
                         'is_system' => false,
                         'is_system' => false,
                         'access_scope' => 'unit',
                         'access_scope' => 'unit',
                     ]);
                     ]);