Преглед на файлове

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',
                     ]);