Skip to content

Commit

Permalink
Fix(Promotions): Return 200 on benefits#edit
Browse files Browse the repository at this point in the history
In solidusio#5981, we accidentally set this error render to a response code 422.
  • Loading branch information
mamhoff committed Dec 4, 2024
1 parent f7a1391 commit ec5f123
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def edit
if params.dig(:benefit, :calculator_type)
@benefit.calculator_type = params[:benefit][:calculator_type]
end
render layout: false, status: :unprocessable_entity
render layout: false
end

def update
Expand Down

0 comments on commit ec5f123

Please sign in to comment.