Skip to content

Commit

Permalink
Import handles data
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Jan 25, 2024
1 parent 78abb24 commit b3ce9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/Commands/ImportGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ private function importGroups()
$eloquentGroup = UserGroup::make()
->handle($group->handle())
->title($group->title())
->roles($group->roles());
->roles($group->roles())
->data($group->data()->except(['title', 'roles']));

$eloquentGroup->save();
});
Expand Down

0 comments on commit b3ce9fe

Please sign in to comment.