Merge branch '1.0-develop' into develop

This commit is contained in:
Matthew Penner 2022-12-14 14:21:01 -07:00
commit 7fde336036
No known key found for this signature in database

View file

@ -35,7 +35,7 @@ class SettingsController extends ClientApiController
public function rename(RenameServerRequest $request, Server $server): JsonResponse public function rename(RenameServerRequest $request, Server $server): JsonResponse
{ {
$name = $request->input('name'); $name = $request->input('name');
$description = $request->input('description') ?? ''; $description = $request->input('description') ?? $server->description;
$this->repository->update($server->id, [ $this->repository->update($server->id, [
'name' => $name, 'name' => $name,
'description' => $description, 'description' => $description,