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:
Andras Bacsai
2026-02-23 13:23:12 +01:00
parent c30d94f089
commit 61a54afe2b
3 changed files with 79 additions and 2 deletions
+1 -1
View File
@@ -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()