Explorar o código

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

alvesantos hai 1 semana
pai
achega
5ca368f5c0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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,
                         'scope_key' => "unit:{$unit->id}",
                         'slug' => \Illuminate\Support\Str::slug($templateRole->label . '-' . $unit->id),
-                        'label' => $templateRole->label,
                         'is_system' => false,
                         'access_scope' => 'unit',
                     ]);