Currently we do not return the full response of command spo navigation node list
Current code:
|
const res = await odata.getAllItems<NavigationNode>(`${args.options.webUrl}/_api/web/navigation/${args.options.location.toLowerCase()}`); |
|
logger.log(res.map(n => { |
|
return { |
|
Id: n.Id, |
|
Title: n.Title, |
|
Url: n.Url |
|
}; |
|
})); |
Let's:
- Return the whole API result
- Update response in the docs
Currently we do not return the full response of command
spo navigation node listCurrent code:
cli-microsoft365/src/m365/spo/commands/navigation/navigation-node-list.ts
Lines 79 to 86 in 97d58e0
Let's: