Skip to content

Commit

Permalink
use GetAlertsBatch for e2e combiner bot
Browse files Browse the repository at this point in the history
  • Loading branch information
aomerk committed Jan 10, 2024
1 parent 6e81574 commit c23481a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/agents/combinerbot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ func queryPublicAPI(ctx context.Context, bot string) ([]*protocol.AlertEvent, er
)
graphqlClient := graphql.NewClient(publicAPIAddr)

return graphqlClient.GetAlerts(ctx, &graphql.AlertsInput{Bots: []string{bot}}, nil)
return graphqlClient.GetAlertsBatch(ctx, []*graphql.AlertsInput{{Bots: []string{bot}}}, nil)
}

0 comments on commit c23481a

Please sign in to comment.