Skip to content

Commit 794557f

Browse files
committed
added authInfo into function call
1 parent a587744 commit 794557f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/porcelain/forms.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (n *Netlify) ListForms(ctx context.Context, params *operations.ListFormsPar
1919
// ListFormsBySiteId lists the forms of a particular site
2020
func (n *Netlify) ListFormsBySiteId(ctx context.Context, siteID string) ([]*models.Form, error) {
2121
authInfo := context.GetAuthInfo(ctx)
22-
resp, err := n.Netlify.Operations.ListForms(operations.NewListFormsParams().WithSiteID(siteID))
22+
resp, err := n.Netlify.Operations.ListForms(operations.NewListFormsParams().WithSiteID(siteID), authInfo)
2323
if err != nil {
2424
return nil, err
2525
}

0 commit comments

Comments
 (0)