fix: missing environment variables prevewi on service
This commit is contained in:
parent
b9a37233a2
commit
3bffe3f010
1 changed files with 4 additions and 0 deletions
|
|
@ -90,6 +90,10 @@ public function environment_variables(): HasMany
|
|||
{
|
||||
return $this->hasMany(EnvironmentVariable::class)->orderBy('key', 'asc');
|
||||
}
|
||||
public function environment_variables_preview(): HasMany
|
||||
{
|
||||
return $this->hasMany(EnvironmentVariable::class)->where('is_preview', true)->orderBy('key', 'asc');
|
||||
}
|
||||
public function workdir()
|
||||
{
|
||||
return service_configuration_dir() . "/{$this->uuid}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue