Skip to content

Commit

Permalink
Update sites-intro.md
Browse files Browse the repository at this point in the history
Web doesn't have `HubSiteId` property, but site does.
  • Loading branch information
wonderplayer authored Apr 16, 2021
1 parent 0835425 commit a34df88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/using-the-sdk/sites-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

0 comments on commit a34df88

Please sign in to comment.