From 8171e76ec88a53b01c16e87e05030b02d345b996 Mon Sep 17 00:00:00 2001 From: Ine Date: Fri, 20 Feb 2026 16:37:18 +0100 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- internal/service/beads.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/beads.go b/internal/service/beads.go index 7c389a4..8762dc1 100644 --- a/internal/service/beads.go +++ b/internal/service/beads.go @@ -54,7 +54,7 @@ func (s *BeadsService) DeleteIssues() error { } func (s *BeadsService) GetComments(ctx context.Context, issueID string) ([]models.Comment, error) { - query := `SELECT id, issue_id, author, text, created_at FROM comments WHERE issue_id = ? ORDER BY created_at ASC` + query := `SELECT id, issue_id, author, text, created_at FROM comments WHERE issue_id = ? ORDER BY created_at ASC LIMIT 100` rows, err := s.UnderlyingDB().QueryContext(ctx, query, issueID) if err != nil {