Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/sentry/issues/endpoints/group_integration_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def get(self, request: Request, group, integration_id) -> Response:
# just linking
action = request.GET.get("action")
if action not in {"link", "create"}:
return Response({"detail": "Action is required and should be either link or create"})
return Response(
{"detail": "Action is required and should be either link or create"}, status=400
)

organization_id = group.project.organization_id
result = integration_service.organization_context(
Expand Down
Loading