From 6dd2063a87c59766f6310dc86bd20d24631a0518 Mon Sep 17 00:00:00 2001 From: Alex Luong Date: Mon, 29 Jul 2024 20:44:04 +0700 Subject: [PATCH] chore: Unnecessary type assertion --- pkg/listen/listen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {