diff --git a/client/flowhooks/flowhooks.go b/client/flowhooks/flowhooks.go index 3c007ee8..b1ffccab 100644 --- a/client/flowhooks/flowhooks.go +++ b/client/flowhooks/flowhooks.go @@ -29,7 +29,7 @@ func Attach(name string, description string, sharedflow string, continueOnErr bo flowhook := []string{} - flowhook = append(flowhook, "\"name\":\""+name+"\"") + flowhook = append(flowhook, "\"flowHookPoint\":\""+name+"\"") if description != "" { flowhook = append(flowhook, "\"description\":\""+description+"\"")