Skip to content

Commit

Permalink
20240612 bump (#660)
Browse files Browse the repository at this point in the history
* refresh user model prior to calling associate author.

* bumps

* update seeder for functional area

* revert back - should work like this
  • Loading branch information
vincentauger authored Jun 12, 2024
1 parent 7ffd300 commit 3eb6c41
Show file tree
Hide file tree
Showing 7 changed files with 401 additions and 374 deletions.
24 changes: 22 additions & 2 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/**
* A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel 11.9.2.
* Generated for Laravel 11.10.0.
*
* This file should not be included in your code, only analyzed by your IDE!
*
Expand Down Expand Up @@ -656,6 +656,26 @@
{
/** @var \Illuminate\Foundation\Application $instance */
return $instance->handleCommand($input);
}
/**
* Determine if the framework's base configuration should be merged.
*
* @return bool
* @static
*/ public static function shouldMergeFrameworkConfiguration()
{
/** @var \Illuminate\Foundation\Application $instance */
return $instance->shouldMergeFrameworkConfiguration();
}
/**
* Indicate that the framework's base configuration should not be merged.
*
* @return \Illuminate\Foundation\Application
* @static
*/ public static function dontMergeFrameworkConfiguration()
{
/** @var \Illuminate\Foundation\Application $instance */
return $instance->dontMergeFrameworkConfiguration();
}
/**
* Determine if middleware has been disabled for the application.
Expand Down Expand Up @@ -22953,7 +22973,7 @@ class Eloquent extends \Illuminate\Database\Eloquent\Model {
* Insert or update a record matching the attributes, and fill it with values.
*
* @param array $attributes
* @param array $values
* @param array|callable $values
* @return bool
* @static
*/ public static function updateOrInsert($attributes, $values = [])
Expand Down
1 change: 1 addition & 0 deletions app/Http/Controllers/Auth/RegisteredUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function store(Request $request): JsonResponse

$user->email_verification_token = User::generateEmailVerificationToken();
$user->save();
//$user->refresh();
$user->associateAuthor();

// give the user the author role - this is the default role
Expand Down
Loading

0 comments on commit 3eb6c41

Please sign in to comment.