fix: sentry

This commit is contained in:
Andras Bacsai
2024-05-24 17:26:05 +02:00
parent 9b73bca79d
commit 26073b82fd
2 changed files with 6 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ class ServiceDatabase extends BaseModel
}
return "{$realIp}:{$port}";
}
public function workdir() {
return service_configuration_dir() . "/{$this->service->uuid}";
}
public function service()
{
return $this->belongsTo(Service::class);