diff --git a/docs/using-the-sdk/sites-intro.md b/docs/using-the-sdk/sites-intro.md index bceca4ed8e..85b626b2d9 100644 --- a/docs/using-the-sdk/sites-intro.md +++ b/docs/using-the-sdk/sites-intro.md @@ -27,6 +27,6 @@ If you want to load additional site properties you can do that via using one of await context.Web.LoadAsync(p => p.RootFolder); // Load the hub site id -var web = await context.Web.GetAsync(p => p.HubSiteId); -Console.WriteLine(web.HubSiteId); +var site = await context.Site.GetAsync(p => p.HubSiteId); +Console.WriteLine(site.HubSiteId); ```