Skip to content

Commit

Permalink
Update src/m365/spo/commands/homesite/homesite-list.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Holemans <[email protected]>
  • Loading branch information
reshmee011 and milanholemans authored Nov 20, 2024
1 parent c90115b commit 756b607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m365/spo/commands/homesite/homesite-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SpoHomeSiteListCommand extends SpoCommand {
public async commandAction(logger: Logger): Promise<void> {
try {
const spoAdminUrl: string = await spo.getSpoAdminUrl(logger, this.debug);
const requestOptions: any = {
const requestOptions: CliRequestOptions = {

Check failure on line 22 in src/m365/spo/commands/homesite/homesite-list.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 20)

Cannot find name 'CliRequestOptions'. Did you mean 'IdleRequestOptions'?

Check failure on line 22 in src/m365/spo/commands/homesite/homesite-list.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 20)

Cannot find name 'CliRequestOptions'. Did you mean 'IdleRequestOptions'?
url: `${spoAdminUrl}/_api/SPO.Tenant/GetTargetedSitesDetails`,
headers: {
accept: 'application/json;odata=nometadata'
Expand Down

0 comments on commit 756b607

Please sign in to comment.