Closed hckia closed 6 years ago
[what is the bug or issue?]
When trying to access org list the client requests the id be provided.
$ northstack org:user:list Not enough arguments (missing: "id").
once provided the following fatal error appears (not a real orgid provided below)
$ northstack org:user:list DAdfQTasdfdsfMBuPnRLtxThhQS Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /app/src/Command/Org/UserListCommand.php:68 Stack trace: #0 /app/vendor/symfony/console/Command/Command.php(251): NorthStack\NorthStackClient\Command\Org\UserListCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(duncan3dc\Console\Output)) #1 /app/vendor/duncan3dc/console/src/Command.php(113): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(duncan3dc\Console\Output)) #2 /app/vendor/symfony/console/Application.php(964): duncan3dc\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(duncan3dc\Console\Output)) #3 /app/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(NorthStack\NorthStackClient\Command\Org\UserListCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(duncan3dc\Console\Output)) #4 /app/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Applica in /app/src/Command/Org/UserListCommand.php on line 68
Issue still arises when encapsulated in string
[what is the bug or issue?]
When trying to access org list the client requests the id be provided.
once provided the following fatal error appears (not a real orgid provided below)
Issue still arises when encapsulated in string