Skip to content

Commit

Permalink
fix: Support connection query
Browse files Browse the repository at this point in the history
  • Loading branch information
alexluong committed Apr 18, 2024
1 parent 525c331 commit 4cc6acb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/listen/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ func getConnections(client *hookdeckclient.Client, source *hookdecksdk.Source, c
SourceId: &source.Id,
})
if err != nil {
return connectionList.Models, err
return nil, err
}
connections = connectionList.Models

var filtered_connections []*hookdecksdk.Connection
for _, connection := range connections {
Expand Down

0 comments on commit 4cc6acb

Please sign in to comment.