Skip to content

Commit

Permalink
Update src/m365/spe/commands/containertype/containertype-get.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Wójcik <[email protected]>
  • Loading branch information
reshmee011 and Adam-it authored Oct 17, 2024
1 parent c435d0f commit 7b83101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/m365/spe/commands/containertype/containertype-get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ class SpeContainertypeGetCommand extends SpoCommand {
if (this.verbose) {
await logger.logToStderr(`Getting the Container type...`);
}
const containerTypeId = await this.getContainerTypeId(args, spoAdminUrl, logger);

const containerTypeId = await this.getContainerTypeId(args.options, spoAdminUrl, logger);
const allContainerTypes = await this.getContainerTypeById(containerTypeId, spoAdminUrl, logger);
await logger.log(allContainerTypes);
}
Expand Down

0 comments on commit 7b83101

Please sign in to comment.