Skip to content

Commit

Permalink
修复AdminSeeder
Browse files Browse the repository at this point in the history
  • Loading branch information
imzhi committed Sep 10, 2019
1 parent 6e7156a commit 64e73cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Seeds/AdminSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function run()
]);

$role = Role::firstOrCreate([
'name' => (array) config('jfadmin.super_role')[0],
'name' => ((array) config('jfadmin.super_role'))[0],
'guard_name' => 'admin_user',
]);

Expand Down

0 comments on commit 64e73cf

Please sign in to comment.