Skip to content

Commit

Permalink
Adding missing reference to get all plans
Browse files Browse the repository at this point in the history
Adding this to planner, not groups.
  • Loading branch information
bcameron1231 committed Oct 2, 2023
1 parent e29b6a9 commit c08e0bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/graph/planner.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,18 @@ const graph = graphfi(...);
const bucketTasks = await graph.planner.buckets.getById('bucketId').tasks();

```

## Get Plans for a group

Gets all the plans for a group

```TypeScript
import { graphfi } from "@pnp/graph";
import "@pnp/graph/groups";
import "@pnp/graph/planner";

const graph = graphfi(...);

const plans = await graph.groups.getById("b179a282-9f94-4bb5-a395-2a80de5a5a78").plans();

```

0 comments on commit c08e0bc

Please sign in to comment.