From 756b607d3120b44146b0db19a32b9c5829045022 Mon Sep 17 00:00:00 2001 From: Reshmee Auckloo Date: Wed, 20 Nov 2024 23:07:19 +0000 Subject: [PATCH] Update src/m365/spo/commands/homesite/homesite-list.ts Co-authored-by: Milan Holemans <11723921+milanholemans@users.noreply.github.com> --- src/m365/spo/commands/homesite/homesite-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'