Skip to content

Remove duplicate property for teams tab list #5900

@milanholemans

Description

@milanholemans

For command teams tab list(https://pnp.github.io/cli-microsoft365/cmd/teams/tab/tab-list), we introduce a duplicate property called teamsAppTabId at the root of the result.
Duplicate data is not useful at all, so let's get rid of it.

const items = await odata.getAllItems<TeamsTab>(endpoint);
items.forEach(i => {
(i as any).teamsAppTabId = i.teamsApp!.id;
});

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions