This commit is contained in:
Andras Bacsai
2024-12-02 22:49:55 +01:00
parent 58988d3686
commit 319c3023dc
8 changed files with 90 additions and 88 deletions

View File

@@ -280,7 +280,7 @@ class PushServerUpdateJob implements ShouldBeEncrypted, ShouldQueue
})->first(); })->first();
if (! $tcpProxyContainerFound) { if (! $tcpProxyContainerFound) {
StartDatabaseProxy::dispatch($database); StartDatabaseProxy::dispatch($database);
$this->server->team?->notify(new ContainerRestarted("TCP Proxy for database", $this->server)); $this->server->team?->notify(new ContainerRestarted('TCP Proxy for database', $this->server));
} else { } else {
} }
} }

View File

@@ -19,12 +19,14 @@ abstract class BaseModel extends Model
} }
}); });
} }
public function name(): Attribute public function name(): Attribute
{ {
return new Attribute( return new Attribute(
get: fn () => sanitize_string($this->getRawOriginal('name')), get: fn () => sanitize_string($this->getRawOriginal('name')),
); );
} }
public function image(): Attribute public function image(): Attribute
{ {
return new Attribute( return new Attribute(