mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
refactor(cache): update team retrieval method in ClearsGlobalSearchCache trait
This commit is contained in:
1 parent
69c36e6333
commit
8d5f9ed0f6
1 file changed
+1
-1
@@ -65,7 +65,7 @@ trait ClearsGlobalSearchCache
|
||||
{
|
||||
// For database models, team is accessed through environment.project.team
|
||||
if (method_exists($this, 'team')) {
|
||||
$team = $this->team();
|
||||
$team = $this->team;
|
||||
if (filled($team)) {
|
||||
return is_object($team) ? $team->id : null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user