Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Dec 5, 2023
1 parent 66b8b52 commit 7171f3c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Http/Controllers/Auth/RegisteredUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public function store(RegistrationRequest $request): RedirectResponse
if ($user->hasRole(UserRole::ADMIN)) {
$attributes['ngo']['status'] = OrganizationStatus::draft;
$attributes['ngo']['slug'] = Str::slug($attributes['ngo']['name']);
$attributes['ngo']['user_id'] = $user->id;

$organization = Organization::create($attributes['ngo']);

Expand Down

0 comments on commit 7171f3c

Please sign in to comment.