Skip to content

Fix the user-agent detail API endpoint for project snippets

What does this MR do?

Fixes two bugs in the /api/v4/projects/:id/snippets/:snippet_id/user_agent_detail endpoint

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Bugs that happen to cause spec failures if snippet ID and project ID aren't identical.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #42129 (closed)

Merge request reports