mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-24 07:46:39 +00:00
orgs: Stop fetching unnecessary org fields
Halves the amount of org data retrieved to show the list of orgs to select from. Change-type: patch
This commit is contained in:
parent
025c4ef7f2
commit
2e37536e7a
@ -46,7 +46,9 @@ export default class OrgsCmd extends Command {
|
||||
const { getOwnOrganizations } = await import('../utils/sdk');
|
||||
|
||||
// Get organizations
|
||||
const organizations = await getOwnOrganizations(getBalenaSdk());
|
||||
const organizations = await getOwnOrganizations(getBalenaSdk(), {
|
||||
$select: ['name', 'handle'],
|
||||
});
|
||||
|
||||
// Display
|
||||
console.log(
|
||||
|
Loading…
Reference in New Issue
Block a user