Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Jan 23, 2026

@ryan953 ryan953 requested review from a team as code owners January 23, 2026 18:15
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 23, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

{
path: {organizationIdOrSlug: organization.slug, projectIdOrSlug: project?.id!},
}
),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong project identifier used in spikesList API call

High Severity

The spikesList API call was refactored from using project?.slug to project?.id!. The original code used the project's slug (/spikes/projects/${project?.slug}/), but the new code passes project?.id! as the projectIdOrSlug parameter. This changes the actual API endpoint being called, which will likely cause the request to fail or return incorrect data. The adjacent spikeThresholds query correctly uses project?.slug!, making this inconsistency apparent.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants