diff --git a/pkg/listen/listen.go b/pkg/listen/listen.go index 7b660c7..edde953 100644 --- a/pkg/listen/listen.go +++ b/pkg/listen/listen.go @@ -100,7 +100,7 @@ Specify a single destination to update the CLI path. For example, pass a connect path := flags.CliPath _, err := sdkClient.Destination.Update(context.Background(), connections[0].Destination.Id, &hookdecksdk.DestinationUpdateRequest{ - CliPath: hookdecksdk.Optional[string](path), + CliPath: hookdecksdk.Optional(path), }) if err != nil {