Skip to content

Commit

Permalink
feat(autofix): Pass data down on update endpoint (#86149)
Browse files Browse the repository at this point in the history
Ideally when `status = 'error'` we'd return a 500 status but our
`useMutation`'s `onError` doesn't have the response body in it...
  • Loading branch information
jennmueng authored Mar 1, 2025
1 parent e361d89 commit e03c15a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sentry/api/endpoints/group_autofix_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,4 @@ def post(self, request: Request, group: Group) -> Response:

response.raise_for_status()

return Response(
status=202,
)
return Response(status=202, data=response.json())

0 comments on commit e03c15a

Please sign in to comment.