mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +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:
1 parent
c30d94f089
commit
61a54afe2b
3 files changed
+79
-2
No files matched your search
@@ -88,7 +88,7 @@ class ServiceApplication 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