mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
fix: subscriptions
This commit is contained in:
1 parent
5b6667c461
commit
923af88336
20 files changed
+147
-69
No files matched your search
+2
-2
@@ -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