Skip to content

Commit

Permalink
chore: Unnecessary type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
alexluong committed Jul 29, 2024
1 parent a9e3513 commit 6dd2063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/listen/listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6dd2063

Please sign in to comment.