Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove dead loop in BatchUpdateIssuesStatus (#19559)

boojack26f2b5309ef2
diff --git a/backend/api/v1/issue_service.go b/backend/api/v1/issue_service.go
index b90181a6f1..1f0505d129 100644
--- a/backend/api/v1/issue_service.go
+++ b/backend/api/v1/issue_service.go
@@ -1031,19 +1031,6 @@ func (s *IssueService) BatchUpdateIssuesStatus(ctx context.Context, req *connect
slog.Error("failed to batch create issue comments", log.BBError(err))
}
- // Create webhooks for each updated issue.
- for _, issueUID := range issueUIDs {
- updatedIssue, err := s.store.GetIssue(ctx, &store.FindIssueMessage{UID: &issueUID, ProjectID: &projectID})
- if err != nil {
- slog.Error("failed to get updated issue", "issueUID", issueUID, log.BBError(err))
- continue
- }
- if updatedIssue == nil {
- slog.Error("updated issue not found", "issueUID", issueUID)
- continue
- }
- }
-
return connect.NewResponse(&v1pb.BatchUpdateIssuesStatusResponse{}), nil
}