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 committed 2026-02-23 13:23:12 +01:00
1 parent c30d94f089
commit 61a54afe2b
3 files changed
+79 -2

No files matched your search

+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()