Skip to content

Commit ba852a3

Browse files
committed
passing siteID param as swagger code requests
1 parent 794557f commit ba852a3

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), authInfo)
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)