Преглед изворни кода

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

alvesantos пре 1 недеља
родитељ
комит
5ca368f5c0
1 измењених фајлова са 0 додато и 1 уклоњено
  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',
                     ]);