mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-08 22:20:02 +00:00
fix(service): resolve team lookup via service relationship
Update service application/database team accessors to traverse the service relation chain and add coverage to prevent null team regressions.
This commit is contained in:
@@ -124,7 +124,7 @@ class ServiceDatabase extends BaseModel
|
||||
|
||||
public function team()
|
||||
{
|
||||
return data_get($this, 'environment.project.team');
|
||||
return data_get($this, 'service.environment.project.team');
|
||||
}
|
||||
|
||||
public function workdir()
|
||||
|
||||
Reference in New Issue
Block a user