fix: subscriptions
This commit is contained in:
@@ -32,7 +32,7 @@ class User extends Authenticatable implements SendsEmail
|
||||
$team = [
|
||||
'name' => $user->name . "'s Team",
|
||||
'personal_team' => true,
|
||||
'boarding' => true
|
||||
'show_boarding' => true
|
||||
];
|
||||
if ($user->id === 0) {
|
||||
$team['id'] = 0;
|
||||
@@ -94,7 +94,7 @@ class User extends Authenticatable implements SendsEmail
|
||||
|
||||
public function currentTeam()
|
||||
{
|
||||
return session('currentTeam');
|
||||
return Team::find(session('currentTeam')->id);
|
||||
}
|
||||
|
||||
public function otherTeams()
|
||||
|
||||
Reference in New Issue
Block a user