Skip to content

Commit

Permalink
client: get all runbooks for a user and all teams they are a part of
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Aug 23, 2024
1 parent 9ae80ba commit 9338334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (c *client) RunbookByID(ctx context.Context, id string) (*Runbook, error) {

func (c *client) Runbooks(ctx context.Context) ([]RunbookInfo, error) {
cl := c.cl
req, err := http.NewRequestWithContext(ctx, http.MethodGet, c.apiURL("/api/v1/list_runbooks"), nil)
req, err := http.NewRequestWithContext(ctx, http.MethodGet, c.apiURL("/api/v1/list_runbooks/all"), nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9338334

Please sign in to comment.