diff --git a/src/m365/spo/commands/homesite/homesite-list.ts b/src/m365/spo/commands/homesite/homesite-list.ts index 271f4813b28..de2c29ce8a8 100644 --- a/src/m365/spo/commands/homesite/homesite-list.ts +++ b/src/m365/spo/commands/homesite/homesite-list.ts @@ -19,7 +19,7 @@ class SpoHomeSiteListCommand extends SpoCommand { public async commandAction(logger: Logger): Promise { try { const spoAdminUrl: string = await spo.getSpoAdminUrl(logger, this.debug); - const requestOptions: any = { + const requestOptions: CliRequestOptions = { url: `${spoAdminUrl}/_api/SPO.Tenant/GetTargetedSitesDetails`, headers: { accept: 'application/json;odata=nometadata'