From 4e120250e150d1a465f714b8863c2e69a68e0c27 Mon Sep 17 00:00:00 2001 From: Jonathan Treffler Date: Sat, 2 Nov 2024 20:15:32 +0100 Subject: [PATCH] use table output for create occ command --- lib/Command/OrganizationFolder/CreateOrganizationFolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/OrganizationFolder/CreateOrganizationFolder.php b/lib/Command/OrganizationFolder/CreateOrganizationFolder.php index c6c1a77..9ae0399 100644 --- a/lib/Command/OrganizationFolder/CreateOrganizationFolder.php +++ b/lib/Command/OrganizationFolder/CreateOrganizationFolder.php @@ -26,7 +26,7 @@ class CreateOrganizationFolder extends BaseCommand { try { $organizationFolder = $this->organizationFolderService->create($name, $quota); - $output->writeln(json_encode($organizationFolder)); + $this->writeTableInOutputFormat($input, $output, [$this->formatTableSerializable($organizationFolder)]); return 0; } catch (Exception $e) { $output->writeln("Exception \"{$e->getMessage()}\" at {$e->getFile()} line {$e->getLine()}");